|
@@ -19,7 +19,8 @@
|
|
|
<div class="loginOut" @click="deviceResourceFun">仪器资源</div>
|
|
|
<div class="loginOut" @click="goToManange">部门管理</div>
|
|
|
<div class="loginOut" @click="userCenter">修改密码</div>
|
|
|
- <div class="loginOut" @click="loginOutFun">退出登录</div>
|
|
|
+ <!-- <div class="loginOut" @click="loginOutFun">退出登录</div>-->
|
|
|
+ <div class="loginOut" @click="toExitApp">退出系统</div>
|
|
|
</el-popover>
|
|
|
|
|
|
<UserCenter ref="userCenterRef" />
|
|
@@ -53,6 +54,12 @@ const userCenterRef = ref();
|
|
|
const userCenter = () => {
|
|
|
userCenterRef.value && userCenterRef.value?.show();
|
|
|
};
|
|
|
+
|
|
|
+const toExitApp = () => {
|
|
|
+ if (window.openHarmonyBridge && window.openHarmonyBridge.exitApp) {
|
|
|
+ window.openHarmonyBridge.exitApp("");
|
|
|
+ }
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|