feat:编辑页面添加退出提示

This commit is contained in:
wangwenrui
2021-01-18 18:58:57 +08:00
parent b706a686cf
commit 2163d3f16f
25 changed files with 167 additions and 91 deletions

View File

@@ -594,6 +594,13 @@
},
add() {
this.asset = this.newAsset();
this.$get('sys/dict/all?type=assetType&pageSize=-1').then(response => {
if (response.code === 200) {
if(this.asset.model&&!this.asset.model.type.code){
this.asset.model.type.code=response.data[0].code;
}
}
});
this.rightBox.show = true;
},
batchEdit(){