修复底部按钮组件报错问题,修复限制折扣未导入onShow方法问题
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user