新增直接提示
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user