筛选完成
This commit is contained in:
@@ -11,6 +11,7 @@ import { alert, goLink } from "@/common/common";
|
||||
import {GetShoppingCartApi, DelShoppingCartApi} from "@/api/shopCart"
|
||||
import { formatHashTag, formatImgUrl, formatPriceDiv } from "@/common/fotmat";
|
||||
import { setParam } from "@/common/system";
|
||||
import { debounce } from "@/common/util";
|
||||
|
||||
type param = {
|
||||
show?: true|false,
|
||||
@@ -194,7 +195,7 @@ export default ({show = false, onClose}: param) => {
|
||||
},[list])
|
||||
|
||||
//去结算
|
||||
const orderDetail = () => {
|
||||
const orderDetail = debounce(() => {
|
||||
getSelectId()
|
||||
if(selectIds.current.length == 0) {
|
||||
alert.error('请选择面料')
|
||||
@@ -203,8 +204,7 @@ export default ({show = false, onClose}: param) => {
|
||||
setParam({ids, sale_mode:selectIndex})
|
||||
goLink('/pages/order/comfirm')
|
||||
}
|
||||
|
||||
}
|
||||
}, 500)
|
||||
|
||||
return (
|
||||
<View className={styles.shop_cart_main}>
|
||||
|
||||
Reference in New Issue
Block a user