jiayubo преди 3 месеца
родител
ревизия
5dcd730994
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      components/QRCode/index.vue

+ 1 - 1
components/QRCode/index.vue

@@ -48,7 +48,7 @@ const props = defineProps({
 })
 
 const qrCodeUrl = ref('')
-const userType = uni.getStorageSync('userType') || 1 // 读取本地存储,默认为1
+const userType = 1 //默认为1
 const userId = uni.getStorageSync('userId')// 读取本地存储
 
 // 打印用户信息,方便查看