diff --git a/pages/recruit/recruit.vue b/pages/recruit/recruit.vue index 48356c0..3e9506f 100644 --- a/pages/recruit/recruit.vue +++ b/pages/recruit/recruit.vue @@ -30,8 +30,10 @@ next(type) { switch (type){ case 0: - this.$store.commit('setEnterprise', type) - this.navTo('/pages/recruit/subPage/index?type=none') + this.isHaveCode(this.idNumber).then(() => { + this.$store.commit('setEnterprise', type) + this.navTo('/pages/recruit/subPage/index?type=none') + }) break; case 1: this.isHaveCode(this.idNumber).then(() => { diff --git a/vue.config.js b/vue.config.js index 02a90a9..8d6a00f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,8 +4,10 @@ module.exports = { proxy: { '/api': { // target: 'http://192.168.3.108:8000', // 本地服务接口地址 - target: 'http://192.168.3.112:8000', // 本地服务接口地址 - // target: 'http://10.165.0.173:8000', // 本地服务接口地址 + // target: 'http://192.168.3.112:8000', // 本地服务接口地址 + target: 'http://10.165.0.173:8000', // 本地服务接口地址 + // target: 'http://192.168.1.106:8000', // 本地服务接口地址 + // target: 'http://192.168.3.120:8000', // 本地服务接口地址 ws: true, pathRewrite: { '^/api': '/'