tangning преди 2 години
родител
ревизия
bf61bdc113
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/stores/user.ts

+ 1 - 1
src/stores/user.ts

@@ -3,7 +3,7 @@ import { defineStore } from 'pinia'
 
 export const useUserStore = defineStore('user', () => {
   const token = ref(localStorage.getItem('token'))
-  const openId = ref('o3S0L1Hyd3O0vYI2Kr1lFDEtEO2k'||localStorage.getItem('openId'))
+  const openId = ref(localStorage.getItem('openId'))
   const info = ref({
     userName: '我的测试',
     orderSn: '',