update 错误路径调整

This commit is contained in:
赵霄
2024-02-02 17:25:24 +08:00
parent 87c7014734
commit c4b7ac3dbb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ export default {
}, },
handleEdit (record) { handleEdit (record) {
const { href } = this.$router.resolve({ const { href } = this.$router.resolve({
path: '/editor', path: '/editorPage',
query: { query: {
filePath: record.editFilePath, filePath: record.editFilePath,
fileName: record.fileName, fileName: record.fileName,
+1 -1
View File
@@ -53,7 +53,7 @@ export default {
this.$emit('ok') this.$emit('ok')
this.close() this.close()
const { href } = this.$router.resolve({ const { href } = this.$router.resolve({
path: '/editor', path: '/editorPage',
query: { query: {
filePath: data.editFilePath, filePath: data.editFilePath,
fileName: data.fileName, fileName: data.fileName,