花裤衩 PanJiaChen Shanghai, China

issue commentPanJiaChen/vue-element-admin

标签栏导航关闭有问题

你能看一下 4.0 版本能重现么?

3.9.x版本已经不维护了。

Hideer

comment created time in an hour

issue commentPanJiaChen/vue-admin-template

exports is not defined

https://github.com/PanJiaChen/vue-admin-template/blob/master/babel.config.js

Liuxl945

comment created time in 2 hours

issue commentPanJiaChen/vue-element-admin

标签栏导航关闭有问题

无法重新,是如何实现同时可以打开两个 编辑文章-4 的。

Hideer

comment created time in 2 hours

issue commentPanJiaChen/vue-element-admin

改变了当前页面的title,TagsView显示的是未改变之前的Title

https://github.com/PanJiaChen/vue-element-admin/issues/1973

HoweZhang

comment created time in 2 hours

issue closedPanJiaChen/vue-element-admin

改变了当前页面的title,TagsView显示的是未改变之前的Title

Question(提问)

<!-- 提问之前,请确定你已经过自己的努力,尝试解决过这个问题。 若是代码相关问题,请不要只截图,请提供在线 demo,以便节约彼此的时间。

Before asking a question, please make sure that you have tried your best to solve this problem.
If it's a code-related issue, please don't just take screenshots. Please provide an online demo to save each other's time.

--> 当前页面类似综合实力的文章详情页,我看每篇文章详情的TagsView都带上了id image

closed time in 2 hours

HoweZhang

issue commentPanJiaChen/vue-admin-template

exports is not defined

你修改过什么代码么?

Liuxl945

comment created time in 2 hours

issue closedPanJiaChen/vue-element-admin

问下有什么方法可以让左侧菜单在展开模式下也能让子菜单向有弹出展示?

Question(提问)

问下有什么方法可以让左侧菜单在展开模式下也能让子菜单向有弹出展示?

就是左侧菜单展开时子菜单的效果和收起时子菜单的效果相同?有什么快捷的方法吗?

closed time in 2 hours

wangyegg1989

issue commentPanJiaChen/vue-element-admin

问下有什么方法可以让左侧菜单在展开模式下也能让子菜单向有弹出展示?

没有,侧边栏是基于 element-ui实现的。你除了改它源码,没有其他什么简洁方案。

或者说你就让侧边栏一直收缩状态,自己强行修改css。

wangyegg1989

comment created time in 2 hours

issue closedPanJiaChen/vue-element-admin

抛给 Request.js的错误信息,为什么不能显示?

Question(提问)

在登录时,我修改了下返回代码,让 res.code = 401,使逻辑走到 request.js里的 response interceptor。

调用到return Promise.reject(res.message || 'error'),语句返回到 login函数里的 catch login: function login(_ref, userInfo) { .... }).catch(function (error) { reject(error); });

至此一切顺利,error为 需要显示的错误信息字符串。继续程序调用到 vuex.esm.js 里的 function registerAction (store, type, handler, local) 函数。

  return res.catch(function (err) {
    store._devtoolHook.emit('vuex:error', err);
    throw err
  })

err 同样为显示的错误信息,再走下去 throw err 就结束了。问题是,显示的提示内容依旧是 'error', 不是想要显示的错误提示,请教下这是什么问题?

closed time in 2 hours

moonose

issue commentPanJiaChen/vue-element-admin

抛给 Request.js的错误信息,为什么不能显示?

你不写message当然是error

https://github.com/PanJiaChen/vue-element-admin/blob/c58e2078bc06a22d1d71c8eb6ea532bf2248ad9f/mock/user.js#L62

moonose

comment created time in 2 hours

issue closedPanJiaChen/vue-element-admin

您好,能回答我一下关于tagview的问题么

image 这里面编辑文章后面的 “ -1 ” 是在哪里添加的?我找了半天没找到.......

closed time in 2 hours

liuchong1995

issue commentPanJiaChen/vue-element-admin

您好,能回答我一下关于tagview的问题么

https://github.com/PanJiaChen/vue-element-admin/blob/c58e2078bc06a22d1d71c8eb6ea532bf2248ad9f/src/views/example/components/ArticleDetail.vue#L186-L190

liuchong1995

comment created time in 2 hours

issue commentPanJiaChen/vue-element-admin

抛给 Request.js的错误信息,为什么不能显示?

Promise.reject(res.message || 'error') 你都自己指出来。

moonose

comment created time in 2 hours

push eventPanJiaChen/vue-element-admin

Pan

commit sha 6520d1bd0161042a4e5440cdd215e96563f10a65

tweak

view details

push time in 18 hours

push eventPanJiaChen/vue-element-admin

anson

commit sha f0ca1735d384e2779de3bda2091d3c327e133f20

perf[Tinymce]: add width prop (#1951)

view details

Pan

commit sha 3625f920411a831b60b1d650107e37b0517c3db0

fix[Tinymce]: fixed width bug

view details

Pan

commit sha f9f51986e611fc2b14b2bff32344cf68208d5bd8

perf: remove redundant svg

view details

Tuan Duong

commit sha c58e2078bc06a22d1d71c8eb6ea532bf2248ad9f

feature[profile]: add profile page (#1953)

view details

Pan

commit sha c3038687dc148b1a1b28ba5d383b3aef710c886f

merge master

view details

push time in 18 hours

push eventPanJiaChen/vue-element-admin

Tuan Duong

commit sha c58e2078bc06a22d1d71c8eb6ea532bf2248ad9f

feature[profile]: add profile page (#1953)

view details

push time in 18 hours

PR merged PanJiaChen/vue-element-admin

feature[profile]: add profile page WIP Review
  • Simple profile page with mockup data from user state profile1
+511 -6

1 comment

13 changed files

tuandm

pr closed time in 18 hours

push eventtuandm/vue-element-admin

Pan

commit sha 3389c6c2dcf3c44100ec04f73d530e3cf28514fd

refactor

view details

Pan

commit sha cb6f6f8a1ee3e493fe5c0dcdd686e5b39751204d

tweak

view details

push time in 18 hours

issue closedPanJiaChen/vue-element-admin

Paused on promise rejection

Question(提问)

@PanJiaChen

用自己的API返回结果, 假设结果为 res.json({code: 400, message: 'failed'});

浏览器会报 Paused on promise rejection 错误,出现 Paused in debugger request.js 定位到 return Promise.reject(res.message || 'error')

请问下这怎么处理?

closed time in 19 hours

moonose

issue commentPanJiaChen/vue-element-admin

Paused on promise rejection

https://github.com/PanJiaChen/vue-element-admin/blob/f9f51986e611fc2b14b2bff32344cf68208d5bd8/src/utils/request.js#L33-L82

moonose

comment created time in 19 hours

issue openedElemeFE/element

[Bug Report] New Icons

<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->

Element UI version

2.8.0

OS/Browsers version

Chrome

Vue version

2.6.10

image

Stopwatch? maybe stopwatch is right

image

el-icon-mike? el-icon-mic

image

These three icons are too similar regardless of the look and name.

<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->

created time in 20 hours

push eventPanJiaChen/vue-element-admin

Pan

commit sha f9f51986e611fc2b14b2bff32344cf68208d5bd8

perf: remove redundant svg

view details

push time in 21 hours

push eventtuandm/vue-element-admin

Pan

commit sha 9b1c3c5f318fdeb1743e1d9239571df3993246ea

refine svg

view details

push time in 21 hours

push eventtuandm/vue-element-admin

Pan

commit sha c73b98cd3765c5ca4234803e60ccb0cce407fc53

i18n

view details

push time in 21 hours

push eventtuandm/vue-element-admin

Pan

commit sha 33fd019e151658449f5f4e7122ace0c5a0442ae6

fix typo

view details

push time in 21 hours

issue closedPanJiaChen/vue-element-admin

关于Tinymce,编辑时给整个table设置背景色,再次读取时背景色没有了

关于Tinymce,在Tinymce里面插入一个表格,然后时给整个table设置背景色,再次读取时背景色没有了

单个单元个设置背景色时是可以的

closed time in a day

tushuyuehou

issue closedPanJiaChen/vue-admin-template

用了你的tempalte 想问下作者的tinymce组件为什么值会固化

出现在 <tinymce v-model="xx"/> xx = ""空值后 就会有bug

closed time in a day

jamesbake

issue commentPanJiaChen/vue-admin-template

用了你的tempalte 想问下作者的tinymce组件为什么值会固化

https://panjiachen.github.io/vue-element-admin-site/zh/feature/component/rich-editor.html#tinymce

https://github.com/PanJiaChen/vue-element-admin/issues/1365

jamesbake

comment created time in a day

Pull request review commentElemeFE/element

style: some docs demo add template

 :::demo 定义`value`属性,它接受`Number`或者`String`。  ```html+<template>

是不是应该要换行

Liugq5713

comment created time in a day

issue commentPanJiaChen/vue-element-admin

this.$router.push({name: '**'})无法跳转到404

vue router 文档

luchanan

comment created time in 2 days

push eventPanJiaChen/awesome-bookmarks

Travis CI User

commit sha 1b0bde5e0e8a9759fbab4860bf1a459a26eb6feb

deploy

view details

push time in 2 days

push eventPanJiaChen/awesome-bookmarks

Pan

commit sha afe845d8c5ee61ac34c26dbd9b4da8cc0c40a6cc

update

view details

push time in 2 days

issue closedPanJiaChen/vue-element-admin

选中某个菜单,能否收起其他大菜单

Feature request(新功能建议)

例如选中了权限测试页中的子页面,组件菜单能否收起

Snipaste_2019-04-24_18-08-02

closed time in 2 days

DemoHu

issue commentPanJiaChen/vue-element-admin

选中某个菜单,能否收起其他大菜单

https://github.com/PanJiaChen/vue-element-admin/issues/1929

DemoHu

comment created time in 2 days

push eventPanJiaChen/vue-element-admin-site

Travis CI User

commit sha 750bbc93ac42370bd4bc387d827063e570b13553

deploy

view details

push time in 2 days

push eventPanJiaChen/vue-element-admin-site

Pan

commit sha 3bb85a8e9744b9519ec6b6d9f691ec33d8472a4e

update

view details

push time in 2 days

push eventPanJiaChen/vue-admin-template

Pan

commit sha eaaa3c1ddadd114451a1a83e042f1fc56a9809a1

demo update

view details

push time in 2 days

issue commentPanJiaChen/vue-admin-template

关于ssr

暂时没有,因为是管理后台,暂时也没支持的打算。

xdwxls

comment created time in 2 days

push eventPanJiaChen/vue-admin-template

Pan

commit sha e8b06bf5ccd39186b4664ea9780b6a3813331d42

update

view details

push time in 2 days

issue commentPanJiaChen/vue-admin-template

vue-admin-template 基础模板可以添加tagsview模块吗

目前默认不会添加这个功能。需要手动复制相关代码。

yoZerY

comment created time in 2 days

issue commentPanJiaChen/vue-element-admin

能否将登陆页面取消之后,所有的菜单显示出来

借鉴 https://github.com/PanJiaChen/vue-admin-template

wzhv1ncent

comment created time in 2 days

issue closedPanJiaChen/vue-element-admin

能否将登陆页面取消之后,所有的菜单显示出来

Question(提问)

<!-- 提问之前,请确定你已经过自己的努力,尝试解决过这个问题。 若是代码相关问题,请不要只截图,请提供在线 demo,以便节约彼此的时间。

Before asking a question, please make sure that you have tried your best to solve this problem.
If it's a code-related issue, please don't just take screenshots. Please provide an online demo to save each other's time.

-->

closed time in 2 days

wzhv1ncent

issue commentPanJiaChen/vue-element-admin

无权限时一级菜单仍显示

那就是你的问题,我怎么知道你具体哪里有问题。

cuizhihua127

comment created time in 2 days

push eventPanJiaChen/PanJiaChen.github.io

Pan

commit sha b462f8f85b0632e85f54c704f85492e99afd2066

fix

view details

push time in 2 days

issue commentPanJiaChen/vue-element-admin

无权限时一级菜单仍显示

但你路由并没有设权限啊

cuizhihua127

comment created time in 2 days

push eventPanJiaChen/PanJiaChen.github.io

Pan

commit sha f279e3d110ea4581fb4a191324696e37856427e0

add test demo

view details

push time in 2 days

issue commentPanJiaChen/vue-element-admin

无权限时一级菜单仍显示

没设权限的意思是所有人都能看。

cuizhihua127

comment created time in 2 days

issue closedPanJiaChen/vue-element-admin

@components: pagination

Question(提问)

// 在 example/list.vue & table/complexTable.vue 均未使用到 pagination 携带的参数,在如下公共组件Pagination中handleCurrentChange方法是参数不需要携带。

    handleCurrentChange(val) {
      this.$emit('pagination', { page: val, limit: this.pageSize })
      if (this.autoScroll) {
        scrollTo(0, 800)
      }
    }

closed time in 2 days

skylingfly

issue commentPanJiaChen/vue-element-admin

@components: pagination

这是组件设计问题,没用到不代表没有意义。

这里没用到的原因是我用了page.sync,但有的人不喜欢这样写,那他就可以从回调函数中获取page参数。

skylingfly

comment created time in 2 days

issue closedPanJiaChen/vue-admin-template

请问如何动态生成路由?路由从后台获取而不是根据角色判断,谢谢

请问如何动态生成路由?路由从后台获取而不是根据角色判断,谢谢

closed time in 2 days

PineSongCN

issue commentPanJiaChen/vue-admin-template

请问如何动态生成路由?路由从后台获取而不是根据角色判断,谢谢

https://github.com/PanJiaChen/vue-element-admin/issues/293

PineSongCN

comment created time in 2 days

issue commentPanJiaChen/vue-element-admin

@components: pagination

没懂你想问什么?

skylingfly

comment created time in 2 days

issue commentPanJiaChen/vue-element-admin

无法build:prod。。报错:caniuse-lite is outdated

https://github.com/postcss/autoprefixer/issues/1184

Thomastar

comment created time in 2 days

issue closedPanJiaChen/vue-admin-template

无权限时一级菜单仍旧显示

我的菜单是 一级目录 二级目录 权限 无权限时 一级菜单/二级菜单 仍旧显示

closed time in 2 days

cuizhihua127

issue commentPanJiaChen/vue-admin-template

无权限时一级菜单仍旧显示

请学会提问。

cuizhihua127

comment created time in 2 days

issue commentPanJiaChen/vue-element-admin

关于后端接口登录后跳转dashboard,侧边栏菜单不显示

请自己看文档和源码。

jcops

comment created time in 2 days

issue closedPanJiaChen/vue-element-admin

关于后端接口登录后跳转dashboard,侧边栏菜单不显示

<!-- 注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。

Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.

-->

Bug report(问题描述)

使用自己的后端接口实现了登录, 页面跳转到首页,侧边栏菜单不显示

Steps to reproduce(问题复现步骤)

<!--

  1. [xxx]
  2. [xxx]
  3. [xxxx] -->

Screenshot or Gif(截图或动态图)

image

Link to minimal reproduction(最小可在线还原demo)

<!-- Please only use Codepen, JSFiddle, CodeSandbox or a github repo -->

Other relevant information(格外信息)

  • Your OS:win10
  • Node.js version:v10.15.3
  • vue-element-admin version:4.0.1

closed time in 2 days

jcops

issue commentPanJiaChen/vue-element-admin

关于后端接口登录后跳转dashboard,侧边栏菜单不显示

https://github.com/PanJiaChen/vue-element-admin/blob/3625f920411a831b60b1d650107e37b0517c3db0/src/layout/components/Sidebar/index.vue#L31

请自行debug

jcops

comment created time in 2 days

issue closedPanJiaChen/vue-admin-template

三级菜单挂外部链接 走到404页面

三级菜单挂外部链接 走到404页面

closed time in 3 days

cuizhihua127

issue commentPanJiaChen/vue-admin-template

三级菜单挂外部链接 走到404页面

请确保是最新代码。

https://github.com/PanJiaChen/vue-element-admin/commit/9cba45e97135833a430a2803c2bf325fd6b85c6a

之前已经修复这个问题了。

cuizhihua127

comment created time in 3 days

issue commentPanJiaChen/vue-element-admin

更新4.0后如何去掉mock,改为直接调用后台api

都提示你跨域错了。

moonose

comment created time in 3 days

issue commentPanJiaChen/vue-element-admin

更新4.0后如何去掉mock,改为直接调用后台api

4.0 mock 文档我晚点更新一下。

moonose

comment created time in 3 days

issue closedPanJiaChen/vue-element-admin

npm run preview 无法使用mock数据

npm run preview 之后 会发送post 请求 到 http://localhost:9526/prod-api/user/login。

问:是否应该集成下 mock 数据。

closed time in 3 days

bosscheng

issue commentPanJiaChen/vue-element-admin

npm run preview 无法使用mock数据

preview 就已经是模拟线上环境了。

有需要mock的请自己mock。 main.js 里面代码注释已经写了。

bosscheng

comment created time in 3 days

push eventPanJiaChen/vue-element-admin

Pan

commit sha 8a49ec6ef734d37dc55c53f0dcb72071e8484415

deploy

view details

push time in 3 days

push eventPanJiaChen/vue-element-admin

Pan

commit sha 59800bfaa3d8c1366a2a39d072292f47ec314fd0

d

view details

Pan

commit sha d9503de853726f498590ca7fabd19ffc6fb3e250

d

view details

push time in 3 days

push eventPanJiaChen/vue-element-admin

Tuan Duong

commit sha 6a08c79bfb405aeb4163ae468f0f64393cd2d354

Change views/icons path - Icons view includes 2 small views: svg-icons and element-icons

view details

Pan

commit sha 154b75b47c90ed5be6e1e5129bdcd9bf8715becc

perf[Sidebar]: add unique-opened option

view details

Pan

commit sha 3f71147385cc8bcc7e3826ce5a6493b0bf1fb862

tweak

view details

花裤衩

commit sha 806f960a808c73c1fa23fee0f98ce7c25145e1f9

perf[Views]: revise views/icons path (#1928) - Icons view includes 2 small views: svg-icons and element-icons

view details

Pan

commit sha 50d09574099f39b71ac37739ff7c07ec568f2160

perf: optimize some small details

view details

dingangang

commit sha ea91066b18e3989da206de41206016732b432b80

fix[mock]: fixed mock-server hot reload bug in windows (#1939)

view details

toruksmakto

commit sha 7ca42be6036b755a4f9dc89891a3f77a184281f0

perf[login.vue]: add tabindex for login form (#1933)

view details

Pan

commit sha 7dc9e681bf4906234556812730d30a944d7050bc

docs: update readme

view details

Pan

commit sha 120c78622d32641f9816db76b7f90a0d40ba9d83

perf[jest]: clear jest test cache

view details

Pan

commit sha d8dbf92b4714cd4f222d546413b6e15c63685e33

tweak

view details

anson

commit sha f0ca1735d384e2779de3bda2091d3c327e133f20

perf[Tinymce]: add width prop (#1951)

view details

Pan

commit sha 3625f920411a831b60b1d650107e37b0517c3db0

fix[Tinymce]: fixed width bug

view details

Pan

commit sha 965c2eca6532b122501a629f510a19f56ce175d7

Merge branch 'master' into deploy

view details

push time in 3 days

issue openedPanJiaChen/vue-element-admin-site

polyfill

add polyfill docs

created time in 3 days

pull request commentPanJiaChen/vue-element-admin

perf[Tinymce]: add width prop

Fixed in https://github.com/PanJiaChen/vue-element-admin/commit/3625f920411a831b60b1d650107e37b0517c3db0

ansonhorse

comment created time in 3 days

push eventPanJiaChen/vue-element-admin

Pan

commit sha 3625f920411a831b60b1d650107e37b0517c3db0

fix[Tinymce]: fixed width bug

view details

push time in 3 days

pull request commentPanJiaChen/vue-element-admin

perf[Tinymce]: add width prop

我改一下。

ansonhorse

comment created time in 3 days

issue closedPanJiaChen/vue-element-admin

路由children中只有一个子路由的时候,menu菜单能依然显示父子关系吗?

Feature request(新功能建议)

当嵌套路由的children中只有一个子路由的时候,菜单组件会将这个子路由作为菜单显示在menu中,而不显示父路由的title, 期待的效果是,尽管children中只有一个路由,依然显示父子层级的菜单

closed time in 3 days

DemoHu

issue commentPanJiaChen/vue-element-admin

路由children中只有一个子路由的时候,menu菜单能依然显示父子关系吗?

alwaysShow: true

https://panjiachen.github.io/vue-element-admin-site/zh/guide/essentials/router-and-nav.html#%E9%85%8D%E7%BD%AE%E9%A1%B9

DemoHu

comment created time in 3 days

pull request commentPanJiaChen/vue-element-admin

Implement mockup for profile page

Thank you pr. Probably will be merged into the master in version 4.1.1

tuandm

comment created time in 3 days

issue commentPanJiaChen/vue-element-admin

编译报错

https://github.com/vuejs/vue-cli/issues/1669

hyahm

comment created time in 3 days

push eventPanJiaChen/vue-element-admin

anson

commit sha f0ca1735d384e2779de3bda2091d3c327e133f20

perf[Tinymce]: add width prop (#1951)

view details

push time in 3 days

push eventansonhorse/vue-element-admin

Pan

commit sha fa8638f5c3cadf9a1d610ad2af40d359b273c77b

tweak

view details

push time in 3 days

push eventPanJiaChen/vue-admin-template

PLAsusu

commit sha b2fe1a22e14e9d7055ca43b926a994e27553eeb4

fix: fixed error action name (#339)

view details

Pan

commit sha 434a04ee3f215a5157c7c187c3fd240feda3567d

Merge branch 'master' into permission-control

view details

push time in 3 days

push eventPanJiaChen/vue-admin-template

PLAsusu

commit sha b2fe1a22e14e9d7055ca43b926a994e27553eeb4

fix: fixed error action name (#339)

view details

push time in 3 days

issue closedPanJiaChen/vue-element-admin

在哪里可以把自带的登录拦截暂时关闭

请教作者, 怎么暂时关闭自带的登录拦截, 因为想自己添加登录校验, 还请告知, 谢谢

closed time in 4 days

zsjabjj

issue commentPanJiaChen/vue-element-admin

在哪里可以把自带的登录拦截暂时关闭

建议你自己仔细看文档和源码。

zsjabjj

comment created time in 4 days

issue commentPanJiaChen/vue-element-admin

在哪里可以把自带的登录拦截暂时关闭

https://github.com/PanJiaChen/vue-element-admin/blob/d8dbf92b4714cd4f222d546413b6e15c63685e33/src/permission.js#L29-L55

zsjabjj

comment created time in 4 days

issue commentPanJiaChen/vue-element-admin

在哪里可以把自带的登录拦截暂时关闭

不理解你所谓的登录拦截指什么。

zsjabjj

comment created time in 4 days

issue closedPanJiaChen/vue-element-admin

侧栏添加添加分割

Feature request(新功能建议)

2019-04-22_162055.png

closed time in 4 days

ooing

issue commentPanJiaChen/vue-element-admin

侧栏添加添加分割

没有这打算。你可以自己修改侧边栏代码。

ooing

comment created time in 4 days

created tagPanJiaChen/vue-admin-template

tag4.1.0

a vue2.0 minimal admin template

created time in 4 days

release PanJiaChen/vue-admin-template

4.1.0

released time in 4 days

issue closedPanJiaChen/vue-admin-template

state.roles的数据格式问题

用了自己的服务器后台,登录后返回的roles只能是字符串格式('admin,editor'这样),于是在store的user.js里修改提交roles语句为commit('SET_ROLES', data.roles.split(',')),在页面部分可以观察到取state.roles确实是数组。但是很奇怪的,在permission.js里,传递进来的roles参数却仍然是字符串('admin,editor'这样)而不是数组,所以路由检查权限时还是的改成:accessedRoutes = filterAsyncRoutes(asyncRoutes, roles.split(','))。 疑问的是:命名提交到state里的roles已经是数组了,为什么permission.js里取到的roles参数仍然是字符串?

closed time in 4 days

lostapple2017

issue commentPanJiaChen/vue-admin-template

state.roles的数据格式问题

请自己debug

lostapple2017

comment created time in 4 days

push eventPanJiaChen/vue-admin-template

Pan

commit sha 0be4067103b499bf231b530700bd68bcb88f7dda

fix typo

view details

Pan

commit sha 5b77ad6f7964d63afd1fcad648c5fe073b318a5f

Merge branch 'master' into permission-control

view details

push time in 4 days

issue closedPanJiaChen/vue-admin-template

vue-admin-template git clone 地址错了

image

应该是 “https://github.com/PanJiaChen/vue-admin-template.git”

closed time in 4 days

Jesn

push eventPanJiaChen/vue-admin-template

Pan

commit sha 0be4067103b499bf231b530700bd68bcb88f7dda

fix typo

view details

push time in 4 days

issue commentPanJiaChen/vue-admin-template

vue-admin-template git clone 地址错了

谢谢提醒 已修复。

Jesn

comment created time in 4 days

issue closedPanJiaChen/vue-admin-template

正式版4.0 登录报错 Cannot POST /mock/user/login

刚刚更新到正式版的登录用不上, 一时没找到问题所在。 Cannot POST /mock/user/login 截图如下: WX20190422-112321 WX20190422-112119@2x

关键是找不到/dev-api对应的地方,而且好像请求的mock目录也不对吧?

closed time in 4 days

Ale-cc

issue commentPanJiaChen/vue-admin-template

正式版4.0 登录报错 Cannot POST /mock/user/login

mock js 只会mock本地服务。 线上服务请切换自己的api地址。 或者开启这段代码。

https://github.com/PanJiaChen/vue-admin-template/blob/5dd62efed1f7838c4351a3850d932316988782dc/src/main.js#L23-L24

Ale-cc

comment created time in 4 days

more