修复底部按钮组件报错问题,修复限制折扣未导入onShow方法问题

This commit is contained in:
2025-12-04 11:40:33 +08:00
parent be7ae6ff52
commit f061a7442c
3 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
</template>
<script setup>
import { ref, onMounted, nextTick, getCurrentInstance } from "vue";
import { ref, onMounted, nextTick, getCurrentInstance ,computed} from "vue";
import { isMainShop } from "@/store/account.js";
const props = defineProps({

View File

@@ -120,7 +120,7 @@
<view
v-for="(item, index) in moreBtns"
@click="moreBtnsClick(item, index)"
class="u-flex-col u-row-cemter u-col-center"
class="u-flex-col u-row-center u-col-center"
>
<view class="u-flex icon">
<image :src="item.icon" class="img" mode="aspectFill"></image>

View File

@@ -82,6 +82,7 @@
<script setup>
import { computed, reactive, ref } from 'vue';
import {onShow} from '@dcloudio/uni-app'
import myTabs from '@/components/my-components/my-tabs.vue';
import myIcons from '@/components/my-components/my-icons.vue';
import mySwitch from '@/components/my-components/my-switch.vue';