Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category、Tag不能修改成汉字 #21

Closed
skywalker1992 opened this issue Apr 18, 2019 · 7 comments
Closed

Category、Tag不能修改成汉字 #21

skywalker1992 opened this issue Apr 18, 2019 · 7 comments
Labels

Comments

@skywalker1992
Copy link

当我注释调 text: 'Tag' 后
image
打开页面正常,但是如果我点击一下首页或者Category或者标签,就出现了bug:
image

@recoluan
Copy link
Member

收到,感谢你的反馈,我会在下个版本中修复这个bug,并且会在这里提醒你。

@recoluan recoluan added the bug label Apr 18, 2019
@cchenggit
Copy link

同样遇到这个 bug, 只要点击Nav 就会出现重复的 nav
Console log报错:

Vue warn]: Duplicate keys detected: '/tag/'. This may cause an update error.

found in

---> <NavLinks> at node_modules/vuepress-theme-reco/components/NavLinks.vue
       <Sidebar> at node_modules/vuepress-theme-reco/components/Sidebar.vue
         <Common> at node_modules/vuepress-theme-reco/components/Common.vue
           <Category> at node_modules/vuepress-theme-reco/layouts/Category.vue
             <GlobalLayout> at node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue
               <Root>

@recoluan
Copy link
Member

@skywalker1992 @cchenggit 问题已经在 vuepress-theme-reco@1.0.0-alpha.15 版本中修复,请跟新版本。

@cchenggit
Copy link

@recoluan 是我操作有问题还是没有更新?
我去 npm 上查询, 确实有1.0.0-alpha.15版本..

yarn global add vuepress-theme-reco@1.0.0-alpha.15
yarn global v1.15.2
warning package.json: No license field
[1/4] 🔍  Resolving packages...
Couldn't find any versions for "vuepress-theme-reco" that matches "1.0.0-alpha.15"
? Please choose a version of "vuepress-theme-reco" from this list:
❯ 1.0.0-alpha.12
  1.0.0-alpha.11
  1.0.0-alpha.10
  1.0.0-alpha.9
  1.0.0-alpha.8
  1.0.0-alpha.7
  1.0.0-alpha.6
  1.0.0-alpha.5
  1.0.0-alpha.4
  1.0.0-alpha.3
  1.0.0-alpha.2
  1.0.0-alpha.1
  0.3.11
  0.3.10
  0.3.9
  0.2.1
  0.2.0
  0.1.1
  0.1.0
  0.0.4
  0.0.3
  0.0.2
  0.0.1

@recoluan
Copy link
Member

@recoluan 是我操作有问题还是没有更新?
我去 npm 上查询, 确实有1.0.0-alpha.15版本..

yarn global add vuepress-theme-reco@1.0.0-alpha.15
yarn global v1.15.2
warning package.json: No license field
[1/4] 🔍  Resolving packages...
Couldn't find any versions for "vuepress-theme-reco" that matches "1.0.0-alpha.15"
? Please choose a version of "vuepress-theme-reco" from this list:
❯ 1.0.0-alpha.12
  1.0.0-alpha.11
  1.0.0-alpha.10
  1.0.0-alpha.9
  1.0.0-alpha.8
  1.0.0-alpha.7
  1.0.0-alpha.6
  1.0.0-alpha.5
  1.0.0-alpha.4
  1.0.0-alpha.3
  1.0.0-alpha.2
  1.0.0-alpha.1
  0.3.11
  0.3.10
  0.3.9
  0.2.1
  0.2.0
  0.1.1
  0.1.0
  0.0.4
  0.0.3
  0.0.2
  0.0.1

你好,我刚才试着也有这个问题,我又发布了一版,现在测试着没问题了。可能是因为刚才我在发布 1.0.0-alpha.15 版本的时候网不好,很长时间才发布上去,中间也许因为这个出现一些捕捉不到的问题。

刚开始我没有发现这个问题是因为,我在测试的时候,是直接修改 package.json 里的依赖的版本号,这样确实能下载下来,目前我也不清楚为什么直接用命令行下载会出问题,如果你以后找到了原因,请告诉我。

@cchenggit
Copy link

@recoluan 可能是我用的淘宝的镜像问题, 切换成原本的就可以了.

@recoluan
Copy link
Member

recoluan commented Apr 21, 2019

@recoluan 可能是我用的淘宝的镜像问题, 切换成原本的就可以了.

不知道为什么,我这现在都不行了,太灵异了,我这两天关注一下这个问题,找找原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants