chenlei 1 месяц назад
Родитель
Сommit
149789395a

+ 1 - 1
packages/mobile/.env.production

@@ -1 +1 @@
-VITE_BASE_URL=https://sit-liushaoqibwg.4dage.com
+VITE_BASE_URL=https://shaoqiguli.com/library

+ 1 - 1
packages/pc/.env.production

@@ -1 +1 @@
-VITE_BASE_URL=https://sit-liushaoqibwg.4dage.com
+VITE_BASE_URL=https://shaoqiguli.com/library

+ 1 - 1
packages/pc/src/components/TopNav/components/MobileDialog.vue

@@ -28,7 +28,7 @@ const props = defineProps({
   },
 });
 const emits = defineEmits(["update:visible"]);
-const mobileUrl = ref(location.origin + "/mobile/index.html");
+const mobileUrl = ref(location.href.replace(/\/pc(\/|$)/, "/mobile$1"));
 
 const show = computed({
   get() {

+ 1 - 1
packages/pc/src/views/Home/index.vue

@@ -112,7 +112,7 @@ const getRecommendList = async () => {
   });
 
   data = await compressImages({
-    list: data.map((i) => ({
+    list: data.records.map((i) => ({
       ...i,
       thumb: `${baseUrl}${i.thumb}`,
     })),

Разница между файлами не показана из-за своего большого размера
+ 2550 - 2131
pnpm-lock.yaml