新增直接提示

This commit is contained in:
CD
2022-10-10 17:47:18 +08:00
parent e213f55f34
commit 1274a6a494
2 changed files with 53 additions and 1 deletions
+17 -1
View File
@@ -619,7 +619,23 @@ export default {
let supFolder = ''
this.supFolder = this.nodeItem.key
this.addSub = false
this.menuRightVisible = true
let params = {}
let long = localStorage.getItem('language')
let cut = ''
if (long && long == 'zh-cn') {
this.cut = 'cn'
} else if (long && long == 'en-us') {
this.cut = 'en'
}
params.id = this.supFolder
params.cut = this.cut
postAction(`extRepo/extRepoFolder/isAllowSiblingFolder`, params).then(res => {
if (res.success) {
this.menuRightVisible = true
} else {
this.$message.warning(res.message)
}
})
},
orgAdds(){