@steedos/service-plugin-amis 2.5.10 → 2.5.11-beta.10

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.
@@ -235,8 +235,13 @@
235
235
 
236
236
  // 主要是支持 nav 中的跳转
237
237
  if (action && to && action.target) {
238
- window.open(to, action.target);
239
- return;
238
+ if(Meteor.isCordova && to.indexOf('http') != 0){
239
+ window.open(Steedos.absoluteUrl(to), action.target);
240
+ return;
241
+ }else{
242
+ window.open(to, action.target);
243
+ return;
244
+ }
240
245
  }
241
246
 
242
247
  if (/^https?:\/\//.test(to)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.5.10",
3
+ "version": "2.5.11-beta.10",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "yarn build:tailwind-base && yarn build:tailwind",
@@ -13,7 +13,7 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "gitHead": "b918b6237fcf33152033429f055d5707d3cf0e02",
16
+ "gitHead": "15896005ccd3119b38ed36350900d28fd6e75e35",
17
17
  "devDependencies": {
18
18
  "tailwindcss": "3.2.4"
19
19
  }