代码优化
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
|
||||
<script setup>
|
||||
import { reactive,ref,onMounted } from 'vue';
|
||||
import { $tbShopCategory, $tbProductV2 } from "@/http/yskApi/goods.js"
|
||||
import { getProductPage, getCategoryList } from '@/http/api/product.js'
|
||||
const props=defineProps({
|
||||
show:{
|
||||
|
||||
@@ -72,8 +72,7 @@
|
||||
import { reactive, ref } from 'vue';
|
||||
import { onShow } from '@dcloudio/uni-app';
|
||||
import go from '@/commons/utils/go.js'
|
||||
import { getTbShopCoupon , delTbShopCoupon} from '@/http/yskApi/coupon.js'
|
||||
|
||||
|
||||
import { getCouponList } from '@/http/api/coupon.js'
|
||||
|
||||
const pageData = reactive({
|
||||
@@ -138,7 +137,6 @@
|
||||
go.to('PAGES_COUPON_DISCOUNTCOUPONS',{type: 'info', isType: 1, item: JSON.stringify(item)})
|
||||
} else {
|
||||
go.to('PAGES_COUPON_DISCOUNTCOUPONS',{type: 'info', isType: 2, item: JSON.stringify(item)})
|
||||
// go.to('PAGES_COUPON_CERTIFICATE',{type: 'info', item: JSON.stringify(item)})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user