mirror of
https://gitee.com/maimengcloud/xm-ui-web.git
synced 2025-12-30 10:12:26 +00:00
优化
This commit is contained in:
@@ -61,7 +61,7 @@ import { ElMessageBox } from 'element-plus'
|
||||
export default {
|
||||
props: [ 'selProject'],
|
||||
|
||||
emits:['importTpl'],
|
||||
emits:['importMenu'],
|
||||
computed: {
|
||||
...mapState(useUserStore, ['userInfo', 'roles']),
|
||||
|
||||
@@ -121,7 +121,7 @@ export default {
|
||||
this.load.import=false;
|
||||
if(tips.isOk){
|
||||
this.$refs['menuDialog'].close();
|
||||
this.$emit('importTpl',params)
|
||||
this.$emit('importMenu',params)
|
||||
this.$notify.success('导入成功')
|
||||
}else{
|
||||
this.$notify.error(tips.msg)
|
||||
|
||||
Reference in New Issue
Block a user