diff --git a/mini.project.json b/mini.project.json new file mode 100644 index 00000000..1e6d60a2 --- /dev/null +++ b/mini.project.json @@ -0,0 +1,9 @@ +{ + "format": 2, + "compileOptions": { + "component2": true, + "enableNodeModuleBabelTransform": true, + "transpile": {}, + "globalObjectMode": "enable" + } +} \ No newline at end of file diff --git a/pages/goods/index.vue b/pages/goods/index.vue index 901c8919..e08ce65c 100644 --- a/pages/goods/index.vue +++ b/pages/goods/index.vue @@ -245,7 +245,7 @@ isDay: true, }; const isLogin = computed(() => sheep.$store('user').isLogin); - const state = reactive({ + let state = reactive({ goodsId: 0, skeletonLoading: true, // SPU 加载中 goodsInfo: {}, // SPU 信息 diff --git a/sheep/components/s-auth-modal/s-auth-modal.vue b/sheep/components/s-auth-modal/s-auth-modal.vue index 2b396893..d1b73787 100644 --- a/sheep/components/s-auth-modal/s-auth-modal.vue +++ b/sheep/components/s-auth-modal/s-auth-modal.vue @@ -46,6 +46,18 @@ + + +