对接首页消息通知、巡检点 切换小区获取最新数据
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
<!-- 退出登录按钮 -->
|
||||
<view class="logout-btn-wrap">
|
||||
<button class="logout-btn" :disabled="!phoneNumber || !passwordNumber" @tap="handleLogout">
|
||||
<button class="logout-btn" :disabled="!phoneNumber" @tap="handleLogout">
|
||||
退出登录
|
||||
</button>
|
||||
</view>
|
||||
@@ -41,7 +41,7 @@ import { ref } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
|
||||
// 响应式数据
|
||||
const phoneNumber = ref('15699991212') // 绑定手机号
|
||||
const phoneNumber = ref('') // 绑定手机号
|
||||
const passwordNumber = ref('')
|
||||
|
||||
// 页面加载时可从接口获取用户信息
|
||||
@@ -99,9 +99,6 @@ const confirmLogout = () => {
|
||||
uni.hideLoading()
|
||||
// 清除本地存储的token等信息
|
||||
uni.clearStorageSync()
|
||||
// uni.removeStorageSync('token')
|
||||
// uni.removeStorageSync('userInfo')
|
||||
// uni.removeStorageSync('tempChangePwdParams')
|
||||
|
||||
// 提示并跳转到登录页
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user