|
@@ -1,7 +1,7 @@
|
|
|
// pages/details/details.js
|
|
|
+
|
|
|
const getReq = require('./../../config.js').getReq;
|
|
|
const app = getApp();
|
|
|
-
|
|
|
Page({
|
|
|
|
|
|
/**
|
|
@@ -225,6 +225,14 @@ Page({
|
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow: function () {
|
|
|
+ if (app.globalData.fcodeErr) {
|
|
|
+ wx.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ title: app.globalData.fcodeErr,
|
|
|
+ duration: 2000
|
|
|
+ })
|
|
|
+ app.globalData.fcodeErr = ''
|
|
|
+ }
|
|
|
if (app.globalData.backLogin) {
|
|
|
this.getDatas(this.data.getOneSummary.goods_id);
|
|
|
}
|