From 404af06b4d2e3f7859f8d13439ee431af0fa243a Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 27 Apr 2021 11:52:01 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue
---
src/views/system/cs.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/system/cs.vue b/src/views/system/cs.vue
index 27d561c..88df297 100644
--- a/src/views/system/cs.vue
+++ b/src/views/system/cs.vue
@@ -730,7 +730,11 @@
}
//写入新的省市区
that.form.province = val.addressComponent.province;
- that.form.city = val.addressComponent.city;
+ if(val.addressComponent.city==""){
+ that.form.city = val.addressComponent.province;
+ }else{
+ that.form.city = val.addressComponent.city;
+ }
that.form.district = val.addressComponent.district;
}
},
--
Gitblit v1.9.3