瀏覽代碼

feat:eslint语法错误修复

yangfeng 1 年之前
父節點
當前提交
7d6a1b5b7c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      jypoints-mobile/.npmrc
  2. 1 1
      jypoints-mobile/src/router/index.ts

+ 1 - 1
jypoints-mobile/.npmrc

@@ -1,4 +1,4 @@
 phantomjs_cdnurl=http://cnpmjs.org/downloads
 sass_binary_site=https://registry.npmmirror.com/mirrors/node-sass/
 registry=https://registry.npmmirror.com
-@jianyu:registry=http://192.168.3.207:4873/
+@jianyu:registry=http://192.168.3.71:4873/

+ 1 - 1
jypoints-mobile/src/router/index.ts

@@ -56,7 +56,7 @@ const tempHist: any = history.getItem('count')
 let historyCount: any = (tempHist * 1) || 0
 history.setItem('/', String(0))
 
-myRouter.beforeEach((to, from, next) => {
+myRouter.beforeEach((to: any, from, next) => {
   // 设置页面标题
   document.title = to.meta.title
   store.commit('updatePageTitle', to.meta.title)