Kaynağa Gözat

feat:取消弹窗关闭

ljc 1 ay önce
ebeveyn
işleme
0071344157
3 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 1 0
      pages/ib/recording.vue
  2. 1 1
      pages/login/index.vue
  3. 3 3
      stores/use-global-store.ts

+ 1 - 0
pages/ib/recording.vue

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

+ 1 - 1
pages/login/index.vue

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

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

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