提交 3f511fb6 编写于 作者: A Anne_LXM

feat: 兼容uni-app-x web端

上级 323b550f
......@@ -17,7 +17,7 @@
<text class="list-item-text">账号密码登录</text>
<uni-id-pages-x-icons type="right-arrow" color="#999" />
</view>
<!-- #ifdef uniVersion > 3.99 || uniVersion == 3.99 -->
<!-- #ifdef APP && (uniVersion > 3.99 || uniVersion == 3.99) -->
<view class="list-item" @click="toLogin('univerify')" v-if="hasUniverify">
<text class="list-item-text">一键登录</text>
<uni-id-pages-x-icons type="right-arrow" color="#999" />
......@@ -77,7 +77,7 @@
},
onLoad() { },
methods: {
toLogin(loginType : string) {
toLogin(loginType : string) {
uni.navigateTo({
url: "/uni_modules/uni-id-pages-x/pages/login/login?type=" + loginType
})
......
......@@ -139,8 +139,8 @@
// console.log('res', res);
let tempFiles = res.tempFiles as UTSJSONObject[];
let tempFile = tempFiles[0];
let tempFileName = tempFile['name'] as string
let tempFilePath = tempFile['path'] as string
let tempFileName = tempFile['name'] as string | null
let tempFilePath = tempFile['path'] as string | null
if (tempFileName == null) {
tempFileName = ""
}
......
......@@ -125,12 +125,8 @@
}
}
},
codeChange(i : number, e : InputEvent) {
// console.log(i, e);
},
onFocus(i : number) {
if (this.smsCodeList[i].length == 0) {
// console.log('i', i);
this.smsCodeList[i] = '\u200b'
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册