代码优化
This commit is contained in:
@@ -559,7 +559,6 @@
|
||||
function tuikuan(item, index) {
|
||||
hasPermission('允许退款').then(res => {
|
||||
if (res) {
|
||||
console.log(item)
|
||||
if (Array.isArray(item)) {
|
||||
let arr = [];
|
||||
item.map(v=>{
|
||||
|
||||
@@ -66,10 +66,9 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
function toOrder(){
|
||||
go.to('PAGES_ORDER_INDEX',{
|
||||
userId:props.user.id||'',
|
||||
userId:props.user.userId||'',
|
||||
type:'user'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
// 监听选择用户事件
|
||||
let user = ref({
|
||||
headImg:'',
|
||||
telephone:'',
|
||||
phone:'',
|
||||
amount:'0.00',
|
||||
accountPoints:'0.00'
|
||||
})
|
||||
|
||||
@@ -928,7 +928,6 @@
|
||||
async function pay(par) {
|
||||
const payType = pays.payTypes.list[pays.payTypes.selIndex].payType
|
||||
let pars = getPayParam()
|
||||
console.log(pars)
|
||||
payStatus = 'paying'
|
||||
let params = {
|
||||
shopId: uni.getStorageSync("shopInfo").id,
|
||||
@@ -945,9 +944,6 @@
|
||||
params.creditBuyerId = pageData.buyer.id
|
||||
}
|
||||
|
||||
|
||||
|
||||
console.log(params)
|
||||
try {
|
||||
if (payType == 'scanCode') {
|
||||
await microPay(params)
|
||||
|
||||
Reference in New Issue
Block a user