Browse Source

查看表单报错修改

duy 2 năm trước cách đây
mục cha
commit
18b123034f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/manager/wbsinfo/edit.vue

+ 1 - 1
src/views/manager/wbsinfo/edit.vue

@@ -2159,7 +2159,7 @@ export default {
 
     updateNodeTable () {
       selectByNodeTable(this.curTreeData.id).then((res) => {
-        if (res.data.data.length) {
+        if (res.data.data&&res.data.data.length) {
           this.formData = res.data.data;
         } else {
           this.formData = [];