diff --git a/project/fengdu/app/AppResidentInfo/components/Add.vue b/project/fengdu/app/AppResidentInfo/components/Add.vue index 0332add2..36fed955 100644 --- a/project/fengdu/app/AppResidentInfo/components/Add.vue +++ b/project/fengdu/app/AppResidentInfo/components/Add.vue @@ -597,8 +597,7 @@ export default { this.disabledLevel = this.user.info.areaMap[this.user.info.areaId].length; if (!this.params.id) { // this.baseInfo.householdAreaId = JSON.parse(JSON.stringify(this.user.info.areaId)) - this.baseInfo.currentAreaId = JSON.parse(JSON.stringify(this.user.info.areaId)) - this.$nextTick(() => this.$refs.ruleForm?.resetFields()) + this.baseInfo.currentAreaId = this.user.info.areaId } else { this.getDetail(this.params.id); } diff --git a/vue.config.js b/vue.config.js index d8b191c5..0380fc7e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,7 +38,7 @@ module.exports = { proxy: { //设置代理,可解决跨5 '/lan': { - target: 'http://192.168.1.87:12001', + target: 'http://192.168.1.87:9000', changeOrigin: true, pathRewrite: { //地址重写