dev2 #1

Open
panjunjie wants to merge 174 commits from dev2 into main
2 changed files with 9 additions and 4 deletions
Showing only changes of commit f3dc093edf - Show all commits

View File

@ -288,13 +288,16 @@
this.$refs.formRef.validate((valid) => { this.$refs.formRef.validate((valid) => {
if (valid) { if (valid) {
this.$emit('save', this.cloneData(this.innerFormData)) this.$emit('save', this.cloneData(this.innerFormData))
this.myVisible=false
} else { } else {
this.$message.error('请完善表单信息') this.$message.error('请检查表单信息是否正确或者完整')
return false return false;
} }
}) })
}, },
//
closeDrawer() {
this.myVisible = false;
}
}, },
} }
</script> </script>

View File

@ -271,8 +271,10 @@
if (res.status == 200) { if (res.status == 200) {
this.$message.success('操作成功') this.$message.success('操作成功')
this.fetchDbConfigList() this.fetchDbConfigList()
this.$refs.storeConfDrawerRef.closeDrawer(); //
}else{
this.$message.error(res.msg)
} }
this.drawerVisible = false
}, },
// //