yxy9022 / litadmin Goto Github PK
View Code? Open in Web Editor NEWa vue project for admin
a vue project for admin
我试着注释了一下mock相关的数据,但是注释了之后就一直报错。而且自己的端口数据还会被mock拦截掉,小白请教,不胜感激
您好,请问我打包后,放到tomcat下,无法访问到server端
请问一下我在你先上demo测试菜单折叠功能正常 为什么我Git clone下来 折叠就有bug 当折叠后再次展开 左侧菜单导航就出现问题
你好! 我现在项目遇到的问题是 这个elementUI 折叠菜单 过度动画实现不出来 请教下你这个项目的这个功能样式是在哪些的
运行 npm run dev
报如下的错误
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "F:\vs\2017\Professional\Web\External\Node.exe" "F:\vs\201
7\Professional\Web\External\node_modules\npm\bin\npm-cli.js" "run" "dev"
npm ERR! node v5.4.1
npm ERR! npm v3.3.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script 'node build/dev-server.js'.
npm ERR! This is most likely a problem with the litadmin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/dev-server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls litadmin
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\李庆\Downloads\LitAdmin-master\npm-debug.log
发现用了楼主这个菜单结构,项目想添加三级菜单和路由 不知道怎么实现了
routes: [
{
name: '资源看板',
path: '/',
// redirect: '/main',
component: (resolve)=>{require(['@/pages/index/app.vue'],resolve)},
meta: {
title: '资源看板'
},
iconCls: 'icon-kanban', // 图标样式class
children: [{
name: '车辆资源看板',
path: '/main',
component: (resolve)=>{require(['@/pages/resource-board/vehicle-resource-board/app.vue'],resolve)},
hidden: false
},
{
name: '车辆事故汇总',
path: '/accidentsummary',
component: (resolve)=>{require(['../pages/resource-board/vehicle-summary/app.vue'],resolve)},
// children: [ 三级 然后找不到
// {
// name: '车辆人员伤亡排名',
// path: 'casualties',
// component: (resolve)=>{require(['../pages/resource-board/vehicle-summary/casualties/app.vue'],resolve)},
// hidden: true
// }
// ]
},
如果加上动态路由,就更好了..
感谢提供如此好的例子。
我有个2个问题,一致处理不了。
1: 没有登录前就会发出get请求,我要如何把他禁止掉。
2: get有缓存,这个缓存怎么禁止掉
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.