完成岗位和权限管理,备份到gitee

pull/6/head
yzw 2022-07-20 10:55:47 +08:00
parent 9bb2391a14
commit 5b147bafaa
2 changed files with 8 additions and 2 deletions

View File

@ -142,6 +142,12 @@ export default {
type: "success", type: "success",
duration: 2000, duration: 2000,
}); });
} else {
this.$message({
message: res.code + " " + res.msg,
type: "error",
duration: 2000,
});
} }
}, },
(err) => { (err) => {

View File

@ -38,8 +38,8 @@ module.exports = {
}, },
proxy: { proxy: {
'/': { '/': {
target: 'http://127.0.0.1:4523/m1/1256020-0-default/', // target: 'http://127.0.0.1:4523/m1/1256020-0-default/',
// target: 'http://192.168.31.102:8000', target: 'http://192.168.31.102:8000',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
} }