userIdChange

This commit is contained in:
刘召雪
2020-11-12 10:26:18 +08:00
parent dc9ed721b2
commit 5305292951
2 changed files with 11 additions and 1 deletions

View File

@ -229,6 +229,16 @@ export default {
}
});
},
userIdChange(userId) {
delete this.form.projectId;
userSelect({ userId }).then(({ code, msg, select }) => {
if (code == 200) {
this.userSelectList = select;
} else {
this.$message.error(msg);
}
})
},
}
}
</script>

View File

@ -8,7 +8,7 @@ function resolve(dir) {
const name = defaultSettings.title || '锐能管理系统' // 标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口
const port = process.env.port || process.env.npm_config_port || 8080 // 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions