MONSTER-ygh 2 meses atrás
pai
commit
1642eb3eca
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      src/views/otaMr/maoyan/dialog/dataEdit.vue

+ 4 - 1
src/views/otaMr/maoyan/dialog/dataEdit.vue

@@ -239,7 +239,10 @@ export default {
       this.goodsList = []
       this.multipleSelection = []
       this.timeValueObj = {}
-      this.form = JSON.parse(JSON.stringify(obj))
+      this.form = JSON.parse(JSON.stringify({
+        ...obj,
+        category: obj.category?obj.category.toString():obj.category
+      }))
       
       await this.getPushListFun(obj,type)