添加注销功能
This commit is contained in:
@@ -25,6 +25,12 @@
|
||||
<view class="item-value">{{ passwordNumber }}</view>
|
||||
<uni-icons type="arrowright" size="20" color="#ccc"></uni-icons>
|
||||
</view>
|
||||
<!-- 注销账号 -->
|
||||
<view class="setting-item" @tap="goToDeleteAccount">
|
||||
<view class="item-label">注销账号</view>
|
||||
<!-- <view class="item-value">{{ }}</view> -->
|
||||
<uni-icons type="arrowright" size="20" color="#ccc"></uni-icons>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<!-- 退出登录按钮 -->
|
||||
@@ -84,6 +90,12 @@ const goToModifyPassword = () => {
|
||||
url: '/pageSubPack/setting/change-password'
|
||||
})
|
||||
}
|
||||
// 跳转到注销账号
|
||||
const goToDeleteAccount = () =>{
|
||||
uni.navigateTo({
|
||||
url:'/pageSubPack/setting/deleteAccount'
|
||||
})
|
||||
}
|
||||
|
||||
// 点击退出登录,显示原生确认弹窗
|
||||
const handleLogout = () => {
|
||||
|
||||
Reference in New Issue
Block a user