jufubao-base 1.0.391-beta2 → 1.0.392

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.391-beta2",
3
+ "version": "1.0.392",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -1289,7 +1289,7 @@ export default {
1289
1289
 
1290
1290
  //跳转到第三方订单
1291
1291
  if(res['third_order_detail_url']) {
1292
- this.$xdUniHelper.redirectTo({url: res['third_order_detail_url']}, false, false);
1292
+ this.$xdUniHelper.redirectTo({url: res['third_order_detail_url']}, false, true);
1293
1293
  return;
1294
1294
  }
1295
1295
 
@@ -649,7 +649,8 @@ export default {
649
649
  this.$xdUniHelper.navigateTo({
650
650
  url: item['third_order_detail_url'],
651
651
  });
652
- }else{
652
+ }
653
+ else{
653
654
  this.$xdUniHelper.navigateTo({
654
655
  url: `${path}?id=${item.main_order_id}`,
655
656
  });