iview-admin
iview-admin copied to clipboard
Vue 2.0 admin management system template based on iView
https://github.com/iview/iview-admin/blob/dd86e386a8542e8808a54ce7afeb713963c81d3c/src/components/count-to/count-to.vue#L158 这个地方useGroup应该为usegroup小写
tagList是保存了之前登陆的账户的打开tags,如果切换为其他账户,没有该tag的权限,应该做处理,不显示没有权限的tags
此处作用是不是可以直接删掉,删除tag第一个元素的意义没理解
文档的例子是meta:{title:‘{{more}}’},但是这样写路由中切换语言不会生效。我看了util.js中是对meta.title进行typeof为function的检测,经测试发现,项目中的多语言例子:将单引号‘’改为上点``,设置多语言字段即可生效
项目打包部署跨域
axios.defaults.withCredentials = true 前端已经加了这个了,后台也做处理了,还是跨域,发起的是options请求
每次提交代码之前都会以下报错,导致无法提交: running pre-commit hook: lint-staged ❯ Running tasks for *.js ✖ vue-cli-service lint → 1 error found. git add ❯ Running tasks for *.vue ✖ vue-cli-service lint → 5 errors...
而且我把route的模式由history改成hash,仍然不行,都是旧数据,怎么才能打开tab页面实时呈现该页面的最新数据?