Browse Source

bug

master
yibo 6 years ago
parent
commit
51074543f4
3 changed files with 7 additions and 7 deletions
  1. +1
    -1
      app.js
  2. +3
    -3
      pages/order/detail/detail.js
  3. +3
    -3
      pages/outStore/outStoreDetail/outStoreDetail.js

+ 1
- 1
app.js View File

@ -14,7 +14,7 @@ App({
var path = options.path;
if (options.query.id) {
wx.reLaunch({
url: '/pages/login/login',
url: '/pages/empty/login',
complete: function(res) {
that.globalData.shareInPath = path;
that.globalData.shareInParameter = options.query;


+ 3
- 3
pages/order/detail/detail.js View File

@ -111,11 +111,11 @@ Page({
if (app.globalData.shareInState == 1) {
return;
}
var detailItemID = 0;
if (app.globalData.shareInParameter.id) {
var detailItemID = parseInt(app.globalData.shareInParameter.id);
detailItemID = parseInt(app.globalData.shareInParameter.id);
} else {
var detailItemID = parseInt(options.ID);
detailItemID = parseInt(options.ID);
}
var that = this;


+ 3
- 3
pages/outStore/outStoreDetail/outStoreDetail.js View File

@ -16,16 +16,16 @@ Page({
if (app.globalData.shareInState == 1) {
return;
}
var detailItemID = 0;
if (app.globalData.shareInParameter.id) {
var detailItemID = parseInt(app.globalData.shareInParameter.id);
detailItemID = parseInt(app.globalData.shareInParameter.id);
// wx.showModal({
// title: '看下ID值',
// content: '+++' + detailItemID + '+++',
// })
// detailItemType = app.globalData.shareInParameter.detailItemType;
} else {
var detailItemID = parseInt(options.ID);
detailItemID = parseInt(options.ID);
}
var that = this;


Loading…
Cancel
Save