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
0dc7858f
Commit
0dc7858f
authored
Jun 03, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Remove:Setting) 移除编码管理创建解码器时,模版中的 decode_str 方法
parent
fa068c40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
encoders.js
source/modules/settings/encoders.js
+0
-8
No files found.
source/modules/settings/encoders.js
View file @
0dc7858f
...
@@ -531,14 +531,6 @@ module.exports = {
...
@@ -531,14 +531,6 @@ module.exports = {
}
}
\`.replace(/\\n\\s+/g, '');
\`.replace(/\\n\\s+/g, '');
},
},
/**
* 解码字符串
* @param {string} data 要被解码的字符串
* @returns {string} 解码后的字符串
*/
decode_str: (data, ext={}) => {
return Buffer.from(data, 'base64').toString();
},
/**
/**
* 解码 Buffer
* 解码 Buffer
* @param {string} data 要被解码的 Buffer
* @param {string} data 要被解码的 Buffer
...
...
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