ljc 1 ヶ月 前
コミット
5258f3b951
2 ファイル変更5 行追加2 行削除
  1. 1 1
      components/cwg-system.vue
  2. 4 1
      pages/login/index.vue

+ 1 - 1
components/cwg-system.vue

@@ -95,7 +95,7 @@ async function getSystemList(type = false) {
     }
   }
 
-  console.log('qingqiule')
+  // console.log('qingqiule')
   try {
     const res: any = await customApi.getSystemList({})
     if (res && res.code === Code.StatusOK) {

+ 4 - 1
pages/login/index.vue

@@ -160,8 +160,11 @@ function pickFields(source, fields = ['content', 'enContent']) {
   })
   userStore.saveReasonsOptions(result)
 }
-
+const init = ref(false)
 onMounted(() => {
+  console.log('kaiaaa')
+  if (init.value)return
+  init.value = true
   uni.$emit('updateSystemList')
   const accountInfo = userStore.accountInfo
   if (accountInfo?.rememberPassword) {