Browse Source

temp save

liujq 4 years ago
parent
commit
f2def9b39b

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-c967bb6c.7862cdd0.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.cd76cc97.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-63a889a7.62fa528f.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-c967bb6c.15ae7d94.js


+ 5 - 1
src/views/house/components/popup/IndexEdit.vue

@@ -338,7 +338,11 @@ export default {
                 })
               })
             })
-            newForm.area_data = JSON.stringify([...productData])
+            if (productData.length === 0) {
+              newForm.area_data = ''
+            } else {
+              newForm.area_data = JSON.stringify([...productData])
+            }
             let apiStr = 'admestateadd'
             if (this.curObj.id) apiStr = 'admestateedit'
             this.$api.house[apiStr](newForm).then(data => {

Some files were not shown because too many files changed in this diff