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
6c950f40
Commit
6c950f40
authored
Jul 09, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fix: ShellManager) 新建文件时, 默认内容前面加了 `#` 号
parent
e46122cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
index.js
source/modules/filemanager/index.js
+1
-1
No files found.
CHANGELOG.md
View file @
6c950f40
...
...
@@ -14,6 +14,7 @@
### 文件管理
*
修复标签页编辑文件时,路径过长导致右侧按钮不显示的 bug (#192)
*
新建文件时, 默认内容前面加了
`#`
号(防止在shell当前目录下, 新建
`.htaccess`
语法错误导致整个目录无法解析)
## 2019/06/11 `v(2.1.3)`
...
...
source/modules/filemanager/index.js
View file @
6c950f40
...
...
@@ -440,7 +440,7 @@ class FileManager {
this
.
core
.
request
(
this
.
core
.
filemanager
.
create_file
({
path
:
this
.
path
+
value
,
content
:
'Halo ANT!'
content
:
'
#
Halo ANT!'
})
).
then
((
res
)
=>
{
let
ret
=
res
[
'text'
];
...
...
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