Explorar o código

Merge branch 'develop/3.0.8' into test

DESKTOP-2S67K1S\31396 %!s(int64=2) %!d(string=hai) anos
pai
achega
0b213ff7ce
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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' ? {} : ''
+        }
       }
     },