Browse Source

feat:取消弹窗关闭

ljc 2 tháng trước cách đây
mục cha
commit
0071344157

+ 1 - 0
pages/ib/recording.vue

@@ -209,6 +209,7 @@
   })
   })
 
 
   const cancel = async (id) => {
   const cancel = async (id) => {
+    tableRef.value.setDetailVisible(false)
     try {
     try {
       await confirm({
       await confirm({
         title: t('Msg.SystemPrompt'),
         title: t('Msg.SystemPrompt'),

+ 1 - 1
pages/login/index.vue

@@ -420,7 +420,7 @@
 
 
         .img-fluid {
         .img-fluid {
           width: 100%;
           width: 100%;
-          max-width: px2rpx(200);
+          max-width: px2rpx(240);
         }
         }
 
 
         .mt--10 {
         .mt--10 {

+ 3 - 3
stores/use-global-store.ts

@@ -20,11 +20,11 @@ const useStore = defineStore("globalStore", () => {
     state.theme = payload;
     state.theme = payload;
   };
   };
   const initMode = () => {
   const initMode = () => {
-    const encryptedMode = ls.get('mode');
-    state.mode = encryptedMode || 'customer';
+    // const encryptedMode = ls.get('mode');
+    state.mode = 'customer';
   };
   };
   const setMode = (payload: 'customer' | 'ib') => {
   const setMode = (payload: 'customer' | 'ib') => {
-    ls.set('mode', payload)
+    // ls.set('mode', payload)
     state.mode = payload;
     state.mode = payload;
   };
   };
   const setBarHeight = (payload: number) => {
   const setBarHeight = (payload: number) => {