@@ -900,7 +900,7 @@ export default {
this.__confirm(txt, '提交')
.then((v) => {
- if (!this.initialUnitList.checkedUnit) {
+ if (this.initialUnitList.checkedUnit) {
this.doorData[0].unitName = '';
this.formdata.unitNumber = 0;
}