Explorar o código

实现抖音小程序的兼容

YunaiV hai 1 ano
pai
achega
3099c8c491
Modificáronse 3 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      pages/goods/index.vue
  2. 1 1
      pages/order/addressSelection.vue
  3. 1 1
      pages/order/detail.vue

+ 1 - 1
pages/goods/index.vue

@@ -113,7 +113,7 @@
 	import detailCommentCard from './components/detail/detail-comment-card.vue';
 	import detailContentCard from './components/detail/detail-content-card.vue';
 	import detailActivityTip from './components/detail/detail-activity-tip.vue';
-	import { isEmpty } from 'lodash';
+	import { isEmpty } from 'lodash-es';
   import SpuApi from '@/sheep/api/product/spu';
 
 	onPageScroll(() => {});

+ 1 - 1
pages/order/addressSelection.vue

@@ -55,7 +55,7 @@
 <script setup>
   import { computed } from 'vue';
   import sheep from '@/sheep';
-  import { isEmpty } from 'lodash';
+  import { isEmpty } from 'lodash-es';
 
   const props = defineProps({
     modelValue: {

+ 1 - 1
pages/order/detail.vue

@@ -259,7 +259,7 @@
   import sheep from '@/sheep';
   import { onLoad } from '@dcloudio/uni-app';
   import { reactive, ref } from 'vue';
-  import { isEmpty } from 'lodash';
+  import { isEmpty } from 'lodash-es';
   import {
     fen2yuan,
     formatOrderStatus,