🌈 style:订单页搜索合成一个
This commit is contained in:
@@ -82,6 +82,10 @@ export default () => {
|
||||
const [infoObj, setInfoObj] = useState<any>({})
|
||||
//获取订单详情
|
||||
const getDetail = async () => {
|
||||
Taro.showLoading({
|
||||
title: '加载中...',
|
||||
mask: true
|
||||
})
|
||||
const res = await infoFetch({ id: router.params.id })
|
||||
setInfoObj(res.data)
|
||||
orderMsg.map(it => {
|
||||
@@ -100,6 +104,7 @@ export default () => {
|
||||
})
|
||||
setOrderMsg([...orderMsg])
|
||||
setReceivingStatus(res.data.shipment_mode)
|
||||
Taro.hideLoading()
|
||||
}
|
||||
//复制功能
|
||||
const clipboardData = () => {
|
||||
|
||||
Reference in New Issue
Block a user