Commit 6c950f40 authored by Medicean's avatar Medicean

(Fix: ShellManager) 新建文件时, 默认内容前面加了 `#` 号

parent e46122cc
......@@ -14,6 +14,7 @@
### 文件管理
* 修复标签页编辑文件时,路径过长导致右侧按钮不显示的 bug (#192)
* 新建文件时, 默认内容前面加了 `#` 号(防止在shell当前目录下, 新建 `.htaccess` 语法错误导致整个目录无法解析)
## 2019/06/11 `v(2.1.3)`
......
......@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment