feat: 半屏扫码、改密退出与表格并升至1.1.19

This commit is contained in:
2026-11-11 11:35:39 +08:00
parent 4825cd13f2
commit 6273ec0f19
34 changed files with 1232 additions and 242 deletions
-19
View File
@@ -7,17 +7,12 @@
<u-cell-item title="隐私政策" @click="navTo('')" :arrow="true"></u-cell-item>
<u-cell-item title="用户协议" @click="navTo('')" :arrow="true"></u-cell-item>
</u-cell-group>
<u-gap height="20" bg-color="#f5f5f5"></u-gap>
<view>
<u-button class="sign-out" @click="logout" :hair-line="false">退出登录</u-button>
</view>
</view>
</template>
<script>
/**
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
*/
import { clearUserSession } from '@/common/userSession.js';
export default {
data() {
@@ -49,20 +44,6 @@ export default {
// #ifndef APP-PLUS
this.$u.toast('小程序端或H5端已是最新版,无需检查更新!');
// #endif
},
logout() {
const goLogin = () => {
clearUserSession();
uni.reLaunch({
url: '/pages/sys/login/index'
});
};
this.$u.api.pdaLogout().then(() => {
goLogin();
}).catch(error => {
console.log('error',error)
goLogin();
});
}
}
};