Browse Source

'0826-c01'

zory 3 weeks ago
parent
commit
af5c386433
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/service/chat/components/address.vue

+ 3 - 1
src/views/service/chat/components/address.vue

@@ -149,7 +149,9 @@ export default {
             }
             this.formData = resp.data;
             this.formData.city = resp.data.city_code;
-            this.doneGoods.push(resp.data.goods)
+            if (resp.data.goods) {
+                this.doneGoods.push(resp.data.goods)
+            }
         },
         async submit(){
             var validate = await this.$refs.dialogForm.validate().catch(()=>{});