Commit fd252ee2 by 李伟康

提交

1 parent c598e4e9
import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 2
let index = 3
/**
*
......
Page({
data: {},
onLoad: function (options) {
setTimeout(()=>{
this.getOrderInfo(options.orderCode)
},2*1000)
this.getOrderInfo(options.orderCode)
},
getOrderInfo(orderCode) {
wx.p.wxApi.showLoading()
wx.p.api.equityApi.orderDetailData({ orderCode }).then(res => {
wx.p.api.equityApi.orderDetailData({
orderCode
}).then(res => {
wx.hideLoading();
let richText = res.useNotes
res.warrantyDate = res.warrantyDate ? new Date(res.warrantyDate).format('yyyy-MM-dd hh:mm:ss') : ''
......@@ -31,4 +31,4 @@ Page({
wx.p.wxApi.showToast('复制成功')
})
}
})
})
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!