Merge branch 'codeCheck' of https://git.mesalab.cn/nezha/nezha-fronted into codeCheck
This commit is contained in:
@@ -189,6 +189,7 @@
|
||||
if (response.code === 200) {
|
||||
temp.$message({duration: 1000, type: 'success', message: temp.$t("tip.deleteSuccess")});
|
||||
temp.$emit("after");
|
||||
temp.$store.commit('assetDcListChange');
|
||||
temp.esc();
|
||||
} else {
|
||||
this.$message.error(response.msg);
|
||||
|
||||
@@ -602,8 +602,8 @@
|
||||
}
|
||||
},
|
||||
flushData() {
|
||||
this.addUnitShow=false;
|
||||
this.editUnitShow=false;
|
||||
// this.addUnitShow=false;
|
||||
// this.editUnitShow=false;
|
||||
this.getSingleAsset();
|
||||
this.getAssetData();
|
||||
this.getIDCOptionData();
|
||||
|
||||
@@ -1014,6 +1014,13 @@
|
||||
|
||||
}
|
||||
},
|
||||
clearFile:function(){
|
||||
if(this.$refs.upload){
|
||||
this.$refs.upload.clearFiles();
|
||||
}
|
||||
this.uploadFileList=[];
|
||||
this.assetData.accounts[0].privateKey='';
|
||||
},
|
||||
deleteData(data, item) {
|
||||
this.$confirm(this.$t("tip.confirmDelete"), {
|
||||
confirmButtonText: this.$t("tip.yes"),
|
||||
|
||||
Reference in New Issue
Block a user