修改样式
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 退出登录 -->
|
||||
<button type="primary" plain="true" size="small" class="logout-btn" @click="showModel">退出登录</button>
|
||||
<button type="primary" plain="true" size="small" class="logout-btn" @click="handleLoginOut">退出登录</button>
|
||||
|
||||
<!-- 底部加高度来避免tabbar遮挡 -->
|
||||
<!-- <view class="bottom-height"></view> -->
|
||||
@@ -95,14 +95,14 @@
|
||||
</view>
|
||||
|
||||
<!-- 弹窗模板 -->
|
||||
<customShowModal
|
||||
<!-- <customShowModal
|
||||
:title="title"
|
||||
:content="content"
|
||||
:visible="visible"
|
||||
@close="handleClose"
|
||||
@confirm="handleLoginOut"
|
||||
ref="showModel"
|
||||
></customShowModal>
|
||||
></customShowModal> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -222,12 +222,12 @@ const handleClose=()=>{
|
||||
// 3.退出登录
|
||||
const handleLoginOut = async ()=>{
|
||||
|
||||
// showAlert('是否确认退出?','提示',true,()=>{
|
||||
showAlert('是否确认退出?','提示',true,()=>{
|
||||
userStore.logout();
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/login',
|
||||
});
|
||||
// })
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user