mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-23 02:06:36 +08:00
添加前端权限
This commit is contained in:
@@ -59,6 +59,9 @@ export default {
|
||||
});
|
||||
},
|
||||
init() {
|
||||
|
||||
//这里可以遍历后台的菜单code,根据对应的菜单code来给axiosUrls的增删改查赋值即可
|
||||
|
||||
this.axiosUrls = {
|
||||
get: "/user/GetList",
|
||||
update: "/user/Update",
|
||||
|
||||
@@ -133,7 +133,7 @@ export default {
|
||||
};
|
||||
},
|
||||
login() {
|
||||
this.loader = "true";
|
||||
this.loader = true;
|
||||
this.btn_dis=true;
|
||||
this.$store.dispatch("Login", this.form).then((resp) => {
|
||||
if (resp.status) {
|
||||
|
||||
Reference in New Issue
Block a user