jufubao-base 1.0.447-beta2 → 1.0.447-beta4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.447-beta2",
3
+ "version": "1.0.447-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -219,10 +219,12 @@
219
219
  }
220
220
  }).then(res => {
221
221
  this.$xdHideLoading();
222
- this.$xdUniHelper.navigateTo({
223
- url: `${this.refundStepPath}?service_order_id=${res.service_order_id}`,
224
- });
225
-
222
+ setTimeout(() => {
223
+ this.$xdUniHelper.navigateTo({
224
+ url: `${this.refundStepPath}?service_order_id=${res.service_order_id}`,
225
+ });
226
+ }, 500);
227
+
226
228
  }).catch((err)=>{
227
229
  this.$xdHideLoading();
228
230
  console.error(err)
@@ -243,6 +245,8 @@
243
245
  },
244
246
  onJfbShow(options) {
245
247
  console.log('event.onJfbShow', options)
248
+ //loading 是全局状态,从下个页面返回时若上个页面遗留了 loading,会导致本页一直 loading,这里兜底清除
249
+ this.$xdHideLoading();
246
250
  },
247
251
  onJfbHide(options) {
248
252
  console.log('event.onJfbHide', options)