jufubao-base 1.0.447-beta4 → 1.0.447
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.
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 第三方库
|
|
5
|
+
* @param threePackagePath {String} 第三方库所在项目路径存放路径路
|
|
6
|
+
* @param packname {String} 包名字
|
|
7
|
+
* @returns {string|*}
|
|
8
|
+
*/
|
|
9
|
+
const getPackagePath = (threePackagePath, packname = 'gxd-commands-bussiness')=>{
|
|
10
|
+
if(packname === 'gxd-commands-bussiness') {
|
|
11
|
+
return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-commands-bussiness/${threePackagePath}`;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
if (packname === 'gxd-uni-library-editx') {
|
|
15
|
+
return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-uni-library-editx/${threePackagePath}`;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
module.exports = {
|
|
21
|
+
getPackagePath
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -247,6 +247,8 @@
|
|
|
247
247
|
console.log('event.onJfbShow', options)
|
|
248
248
|
//loading 是全局状态,从下个页面返回时若上个页面遗留了 loading,会导致本页一直 loading,这里兜底清除
|
|
249
249
|
this.$xdHideLoading();
|
|
250
|
+
//从售后详情页返回时重新拉取订单商品,避免已申请售后的商品仍展示为可勾选状态
|
|
251
|
+
if(this.order_id) this.p_getAfterOmsOrder();
|
|
250
252
|
},
|
|
251
253
|
onJfbHide(options) {
|
|
252
254
|
console.log('event.onJfbHide', options)
|