Authored by QC-L

修复已知 bug

... ... @@ -96,9 +96,9 @@ App({
}
setTimeout(function () {
wechatLoginAction(function (response) {
that.getShareInfo();
});
wechatLoginAction(function (response) {
that.getShareInfo();
});
}, 1000);
this.mtainit(options);
this.addListener();
... ...
... ... @@ -80,7 +80,7 @@ function request(method = 'GET') {
}
params.source_type = "wechat";
params.client_type = "miniapp";
params.business_line = "miniapp";
params.business_line = "qqliteYoho";
params.user_source = "wechat"
if (params && !params.hasOwnProperty('udid')) {
... ... @@ -162,7 +162,7 @@ function request(method = 'GET') {
}
params.source_type = "wechat";
params.client_type = "miniapp";
params.business_line = "miniapp";
params.business_line = "qqliteYoho";
params.user_source = "wechat"
if (params && !params.hasOwnProperty('udid')) {
... ... @@ -383,7 +383,7 @@ export function uploadFile(filePath, index) {
}
params.source_type = "wechat";
params.client_type = "miniapp";
params.business_line = "miniapp";
params.business_line = "qqliteYoho";
params.user_source = "wechat"
params.project = "evidenceImages"
... ...
... ... @@ -149,7 +149,7 @@ Component({
})
return;
}else { //多选
if(index === 0){//展开默认的下拉菜单
if (index === 0) {//展开默认的下拉菜单
var isShowDefaultSheet = this.properties.isShowDefaultSheet;
if (!isShowDefaultSheet) {
this.triggerEvent('defaultTabTap', { isShowDefaultSheet});
... ... @@ -157,7 +157,7 @@ Component({
this.setData({
isShowDefaultSheet: !isShowDefaultSheet
})
}else {
} else {
currentItem.isAsc = !currentItem.isAsc;
tabs.splice(index,1,currentItem);
this.setData({
... ... @@ -184,7 +184,7 @@ Component({
isShowDefaultSheet: false,
tabs,
selectIndex: index,
order
order: order || ''
});
this.updateProductList();
}
... ... @@ -234,6 +234,7 @@ Component({
updateProductList() {
var order = this.data.order;
console.log('order: ', order);
var event = {
order
}
... ...
... ... @@ -26,11 +26,10 @@
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": 8,
"current": 24,
"list": [
{
"id": -1,
... ...
... ... @@ -161,7 +161,7 @@ function wexinPay(data,payParam){
logEvent(YB_SC_PAY_RES, params);
if(res.errMsg=='requestPayment:fail cancel'){
if(res.errMsg.indexOf('requestPayment:fail') != -1){
wx.redirectTo({
url: '/pages/orders/orders'
})
... ...