矿机租赁项目 用户选择支付 平台换算浮动价格版本
This commit is contained in:
@@ -204,7 +204,16 @@ export default {
|
||||
});
|
||||
return
|
||||
}
|
||||
try { this.$router.push(`/account/order-detail/${id}`) } catch (e) {
|
||||
try {
|
||||
const curPath = (this.$route && this.$route.path) || ''
|
||||
const from = curPath.indexOf('/account/orders') === 0 ? 'buyer' : (curPath.indexOf('/account/seller-orders') === 0 ? 'seller' : '')
|
||||
try { if (from) sessionStorage.setItem('orderDetailFrom', from) } catch (e) {}
|
||||
if (from) {
|
||||
this.$router.push({ path: `/account/order-detail/${id}`, query: { from } })
|
||||
} else {
|
||||
this.$router.push(`/account/order-detail/${id}`)
|
||||
}
|
||||
} catch (e) {
|
||||
this.$message({
|
||||
message: '无法跳转到详情页',
|
||||
type: 'error',
|
||||
|
||||
Reference in New Issue
Block a user