移动,复制旧路由修改

This commit is contained in:
wangxk 2025-03-24 09:50:18 +08:00
parent 23e4335727
commit 5525ca35c1

View File

@ -766,6 +766,7 @@ function copyMove(type: any) {
// tableIdarr.value // tableIdarr.value
} }
function paste() { function paste() {
debugger
let norepeat = [] let norepeat = []
let repeatObj: any = { let repeatObj: any = {
newPath: '', newPath: '',
@ -793,7 +794,7 @@ function paste() {
// //
copyarr.value.forEach((items: any) => { copyarr.value.forEach((items: any) => {
repeatObj.oldpaths = items.workPath repeatObj.oldpaths ='/' + pathid.value + items.workPath
repeatObj.newFileName.push(items.fileName) repeatObj.newFileName.push(items.fileName)
}) })
repeatObj.newFileName = repeatObj.newFileName.join(',') repeatObj.newFileName = repeatObj.newFileName.join(',')