Commit b4afa671 by 李伟康

提交

1 parent eabe4c1c
import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 2
let index = 4
/**
*
......
......@@ -133,6 +133,7 @@ Page({
delete tem.id
}
wx.p.api.equityApi.commodityMsg(tem).then(res => {
wx.hideLoading()
res.goodsDetailList = res.goodsDetailList || []
let tempList = res.goodsDetailList.map((item, index) => {
item.warrantyDate = new Date(item.warrantyDate).format('yyyy-MM-dd hh:mm:ss')
......@@ -187,7 +188,7 @@ Page({
// })
setTimeout(() => {
wx.p.router.back(e => {
e.onLoad({ showToast: 1 })
if(e && e.onLoad ) e.onLoad({ showToast: 1 })
})
}, 500)
return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!