|
@@ -99,10 +99,12 @@ export default {
|
|
|
},
|
|
|
statusObj: {
|
|
|
handler(newV) {
|
|
|
- this.bugEnumList = newV.bugEnumList || []// status
|
|
|
- this.repairResultEnumList = newV.repairResultEnumList || []// 修复结果
|
|
|
- this.bugReasonEnumList = newV.bugReasonEnumList || []// 缺陷原因
|
|
|
- this.bugStatusList(this.status)
|
|
|
+ if (newV) {
|
|
|
+ this.bugEnumList = newV.bugEnumList || []// status
|
|
|
+ this.repairResultEnumList = newV.repairResultEnumList || []// 修复结果
|
|
|
+ this.bugReasonEnumList = newV.bugReasonEnumList || []// 缺陷原因
|
|
|
+ this.bugStatusList(this.status)
|
|
|
+ }
|
|
|
},
|
|
|
deep: true,
|
|
|
immediate: true
|