回滚提交
This commit is contained in:
@@ -1726,6 +1726,9 @@
|
||||
zrDeptIdName:this.$store.getters.userInfo.institutionName,
|
||||
children:[],
|
||||
};
|
||||
if(!this.form.modelData){
|
||||
this.form.modelData = []
|
||||
}
|
||||
this.form.modelData.push(list);
|
||||
this.$message.success("新增成功")
|
||||
this.showForm.modelNum = ""
|
||||
@@ -2915,7 +2918,7 @@
|
||||
if (valid) {
|
||||
this.$refs['formTongGuo'].validate((valid) => {
|
||||
if (valid) {
|
||||
if(this.form.modelData.length === 0){
|
||||
if(this.form.modelData === undefined || this.form.modelData.length === 0){
|
||||
this.opinionDialogVisible = true
|
||||
}else{
|
||||
this.commentTextHandle();
|
||||
|
||||
Reference in New Issue
Block a user