Browse Source

Merge branch 'develop/3.0.8' into test

DESKTOP-2S67K1S\31396 2 năm trước cách đây
mục cha
commit
0b213ff7ce
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/operation/recommend/detail.vue

+ 3 - 1
src/views/operation/recommend/detail.vue

@@ -440,7 +440,9 @@ export default {
     // 清空
     getEmpty(item) {
       for (const key in item) {
-        item[key] = key === 'childrenList' ? [] : key === 'module' ? {} : ''
+        if (key !== 'id') {
+          item[key] = key === 'childrenList' ? [] : key === 'module' ? {} : ''
+        }
       }
     },