gcddblue / vue-admin-webapp Goto Github PK
View Code? Open in Web Editor NEWthis is a admin project
License: MIT License
this is a admin project
License: MIT License
可以给个联系方式吗大佬
这个主要还是因为巨坑的easy-mock官网时常挂掉,所以api响应错误,现在我已经改为部署在fastmock上,语法部署规则和easy-mock很像,已经能正常访问了。(easy-mock真的是无力吐槽,挺好的网站不好好维护,看看github上全是吐槽官网挂了的...)
登录进去后,不去dashboard.vue,而是直接去complex-table.vue,复杂表格界面就会错乱,其他包括表头消失,操作按钮不整齐
我的项目需要在ie上面跑,用到了作者的滑动验证组件,但是在ie上就出不了。希望作者能解决一下这个问题,在这里万分感谢了。
您好,请问我想修改mock数据该怎么操作
预览打不开了啊 老哥
登录的时候,dispatch的名字‘user/_login’,然而在/store/modules/user.js中d的actions中只找到了‘_login’,想知道为什么这两个名字没有对应起来,前面的‘user/’是怎么回事
请教下这个项目有群交流吗
作者的项目结构和代码体现出他清晰的思路和高技术!
要怎么改
// router/index.js
path: '/permission',
...
redirect: '/permission/page-use',
这个redirect
字段的值应该是/permission/page-user
能开启下mock数据接口吗,或者发一下mock数据,老哥,线上的项目都登陆不了了。。。
import store from "@/store";
import router from "@/router";
store.commit("DEL_TOKEN");
router.replace({
path: "/login",
query: {
redirect: router.currentRouter.fullPath,
},
});
//上面是你的处理,
store.commit("DEL_TOKEN");
commit提交难道不是应该在actions里面的方法提交的吗?这样也能提交mutations吗?
为何不直接使用你store.dispatch("user/loginOut");这个方法呢?
萌新不懂为何你这样处理,求告知啊
vue-router.esm.js?8c4f:1958 Uncaught (in promise) Error: Redirected when going from "/login?redirect=%2Fdashbord" to "/dashbord" via a navigation guard.
at createRouterError (vue-router.esm.js?8c4f:1958)
at createNavigationRedirectedError (vue-router.esm.js?8c4f:1917)
at eval (vue-router.esm.js?8c4f:2266)
at _callee$ (index.js?a18c:300)
at tryCatch (runtime.js?96cf:62)
at Generator.invoke [as _invoke] (runtime.js?96cf:296)
at Generator.prototype. [as next] (runtime.js?96cf:114)
at asyncGeneratorStep (asyncToGenerator.js?1da1:3)
at _next (asyncToGenerator.js?1da1:25)
@gcddblue 自己在做的项目需要mock数据,静态的太多了,mock.js不熟悉,大佬这个项目的数据可以借一下吗?
重现步骤:
权限许可/权限设置
可能造成的原因:
权限许可/权限设置
路由/login
的时候, 路由的查询参数 redirect: router.currentRoute.fullPath
保存了当前解析的 URL /permission/roles
/permission/roles
路由的权限, 导致直接登陆 404请问为什么在本地部署登录不了系统呢,报错,是接口改了吗
1、使用admin账户登录进去,
2、左侧菜单栏选择Echarts/切换charts
3、点击右上角消息按钮向左推出消息中心面板,此时charts页面的切换四个切换天数按钮,挡在了消息中心页面上
看了下vue-element-admin 的相关文档,再对照作者的项目,感觉有点儿类似
侧边栏的话可以考虑做一个请求接口,然后把菜单路由的数据渲染侧边栏
请教大神
请教一下
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.