问题修复
This commit is contained in:
@@ -2,12 +2,18 @@
|
||||
<view class="page-gray u-font-28">
|
||||
<up-sticky offsetTop="0" customNavHeight="0">
|
||||
<view class="navbar">
|
||||
<image
|
||||
src="/static/iconImg/exit.svg"
|
||||
class="exit"
|
||||
mode=""
|
||||
@click="toDiancan"
|
||||
></image>
|
||||
<view class="u-flex"
|
||||
@click="loginOut()"
|
||||
|
||||
>
|
||||
<image
|
||||
src="/static/iconImg/exit.svg"
|
||||
class="exit"
|
||||
mode=""
|
||||
></image>
|
||||
<text class="u-font-32 color-333 u-m-l-16">退出</text>
|
||||
</view>
|
||||
|
||||
<text class="font-700 u-font-40 color-333">台桌列表</text>
|
||||
<view class="u-flex navbar-right" style="gap: 134rpx">
|
||||
<up-icon name="scan" size="64rpx" color="#999"></up-icon>
|
||||
@@ -215,6 +221,13 @@ onShow(async () => {
|
||||
getTable();
|
||||
});
|
||||
|
||||
function loginOut() {
|
||||
uni.clearStorage();
|
||||
uni.redirectTo({
|
||||
url: "/pages/login/index",
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 扫码上传
|
||||
*/
|
||||
|
||||
@@ -293,20 +293,7 @@ const vdata = reactive({
|
||||
loginType: "merchant",
|
||||
},
|
||||
});
|
||||
vdata.formData.merchantName = "19107220837";
|
||||
vdata.formData.username = "19111112222";
|
||||
vdata.formData.pwd = "123456";
|
||||
vdata.formData.code = "666666";
|
||||
// #ifdef H5
|
||||
// vdata.formData.merchantName = "19191703856";
|
||||
// vdata.formData.username = "18888888888";
|
||||
// vdata.formData.pwd = "123456";
|
||||
// vdata.formData.code = "666666";
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
// vdata.formData.username = '15699991111'
|
||||
// vdata.formData.pwd = 'qwer1234'
|
||||
// #endif
|
||||
|
||||
|
||||
function accountTypeChange(e) {
|
||||
// #ifdef H5
|
||||
|
||||
Reference in New Issue
Block a user