jiayubo месяцев назад: 3
Родитель
Сommit
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')// 读取本地存储
 
 // 打印用户信息,方便查看