优化
This commit is contained in:
1 parent
d0b5a3d582
commit
62c8d25fcc
7 files changed
+163
-106
No files matched your search
+15
-4
@@ -188,13 +188,24 @@
|
||||
url: '/pages/login/index',
|
||||
});
|
||||
};
|
||||
/**
|
||||
* @desc 跳转至登录页面
|
||||
*/
|
||||
const toControlPage = ()=> {
|
||||
uni.navigateTo({
|
||||
url: '/pages/control/index',
|
||||
});
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
getUserInformation();
|
||||
// getUserInformation();
|
||||
});
|
||||
onLoad(() => {
|
||||
getUserInformation();
|
||||
// getUserInformation();
|
||||
});
|
||||
onShow(()=>{
|
||||
getUserInformation();
|
||||
})
|
||||
|
||||
// 测试缓存中的数据
|
||||
|
||||
@@ -333,7 +344,7 @@
|
||||
</view>
|
||||
<!-- 底部按钮 -->
|
||||
<view class="w-full" v-if="device.isCurrent">
|
||||
<view class="border-round-theme rounded-lg bg-theme flex justify-center items-center p-2 gap-1">
|
||||
<view class="border-round-theme rounded-lg bg-theme flex justify-center items-center p-2 gap-1" @click="toControlPage()">
|
||||
<u-icon name="list" color="#fff"></u-icon>
|
||||
<text class="text-white text-sm">CONTROL CONSOLE</text>
|
||||
</view>
|
||||
@@ -438,7 +449,7 @@
|
||||
</view>
|
||||
|
||||
<u-popup :show="show" @close="hidePopup" round="10" :closeable="true">
|
||||
<view class="p-6 w-64">
|
||||
<view class="p-6">
|
||||
<view class="text-lg font-bold mb-4 text-center">Edit Username</view>
|
||||
<input
|
||||
v-model="newNickname"
|
||||
|
||||
Reference in new issue
Block a user