src/views/system/cs.vue
@@ -531,8 +531,10 @@ watch:{ 'form.map':{// form是表单或者表格绑定的数据集,v-model='form' handler(val){ this.form.jd = val.latitude this.form.wd = val.longitude if (val!=undefined) { this.form.jd = val.latitude this.form.wd = val.longitude } }, immediate: true }