update 新增编辑新标签页打开
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
||||
this.$message.success(res.message)
|
||||
this.$emit('ok')
|
||||
this.close()
|
||||
this.$router.push({
|
||||
const { href } = this.$router.resolve({
|
||||
path: '/editor',
|
||||
query: {
|
||||
filePath: data.editFilePath,
|
||||
@@ -61,6 +61,7 @@ export default {
|
||||
key: data.id
|
||||
}
|
||||
})
|
||||
window.open(href, '_blank')
|
||||
} else {
|
||||
this.$message.warn(res.message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user