Skip to content

Commit

Permalink
Fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Geek-James committed Feb 23, 2020
1 parent dc04f08 commit 82a8558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/i18n/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default {
sendVerify: '发送验证码',
hasSend: '已发送',
phoneVerify: '账号密码登录',
message: '短信验证码登录',
smsMessage: '短信验证码登录',
switchLoginMsg: '账号密码登录',
messageSuccess: '验证码获取成功,请在输入框输入',
pleaseInputCorrectPhoneNumber: '请输入正确的手机号',
Expand Down
9 changes: 2 additions & 7 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ function resolve(dir) {
return path.join(__dirname, dir)
}


module.exports = {
runtimeCompiler: true, //是否使用包含运行时编译器的 Vue 构建版本
publicPath: '',
Expand All @@ -23,9 +22,7 @@ module.exports = {
}
},
chainWebpack(config) {
// config.plugins.delete('preload') // TODO: need test
// config.plugins.delete('prefetch') // TODO: need test
// set svg-sprite-loader
// svg设置
config.module
.rule('svg')
.exclude.add(resolve('src/icons'))
Expand All @@ -41,7 +38,5 @@ module.exports = {
symbolId: 'icon-[name]'
})
.end()
},


}
}

0 comments on commit 82a8558

Please sign in to comment.