mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
加入重命名
This commit is contained in:
@@ -204,7 +204,7 @@ export default {
|
||||
},
|
||||
async onRenameFile () {
|
||||
let newPath
|
||||
if (this.currentPath === '') {
|
||||
if (this.currentPath.split('/').length === 1) {
|
||||
newPath = this.name
|
||||
} else {
|
||||
const arr = this.currentPath.split('/')
|
||||
|
||||
Reference in New Issue
Block a user