提交 e9d0f1ef authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 4a793a41
......@@ -12,23 +12,8 @@
<script>
export default {
name: 'WmpLayout',
metaInfo() {
return {
link: [{ rel: 'icon', href: 'https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/favicon.png' }]
}
},
data() {
return {
imgUrl: 'pc'
}
},
created() {
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
this.imgUrl = 'mobile'
} else {
this.imgUrl = 'pc'
}
return {}
}
}
</script>
......
......@@ -95,7 +95,7 @@ export default {
// 验证码
sendCodeRequest() {
api
.sendCode({ account: this.ruleForm.mobile, signName: 'wmp', template: 'SMS_200186414' })
.sendCode({ account: this.ruleForm.mobile })
.then(response => {
console.log(response)
if (response.code === 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论