Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
a9d31bbc
Commit
a9d31bbc
authored
Aug 07, 2018
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix encoder module init bug
parent
48537ba7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
index.js
source/core/asp/index.js
+1
-1
index.js
source/core/aspx/index.js
+1
-1
index.js
source/core/custom/index.js
+1
-1
index.js
source/core/php/index.js
+1
-1
No files found.
source/core/asp/index.js
View file @
a9d31bbc
...
...
@@ -34,7 +34,7 @@ class ASP extends Base {
* @return {array} 编码器列表
*/
get
encoders
()
{
return
localStorage
.
getItem
(
'encoders_asp'
).
split
(
','
)
||
[
'xxxxdog'
]
;
return
(
localStorage
.
getItem
(
'encoders_asp'
)
||
'xxxxdog'
).
split
(
','
)
;
}
/**
...
...
source/core/aspx/index.js
View file @
a9d31bbc
...
...
@@ -37,7 +37,7 @@ class ASPX extends Base {
* @return {array} 编码器列表
*/
get
encoders
()
{
return
localStorage
.
getItem
(
'encoders_aspx'
).
split
(
','
)
||
[
'base64'
,
'hex'
]
;
return
(
localStorage
.
getItem
(
'encoders_aspx'
)
||
"base64,hex"
).
split
(
','
)
;
}
/**
...
...
source/core/custom/index.js
View file @
a9d31bbc
...
...
@@ -30,7 +30,7 @@ class CUSTOM extends Base {
* @return {array} 编码器列表
*/
get
encoders
()
{
return
localStorage
.
getItem
(
'encoders_custom'
).
split
(
','
)
||
[
'base64'
,
'hex'
]
;
return
(
localStorage
.
getItem
(
'encoders_custom'
)
||
'base64,hex'
).
split
(
','
)
;
}
/**
...
...
source/core/php/index.js
View file @
a9d31bbc
...
...
@@ -35,7 +35,7 @@ class PHP extends Base {
* @return {array} 编码器列表
*/
get
encoders
()
{
return
localStorage
.
getItem
(
'encoders_php'
).
split
(
','
)
||
[
'chr'
,
'base64'
]
;
return
(
localStorage
.
getItem
(
'encoders_php'
)
||
"chr,base64"
).
split
(
','
)
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment