@steedos/service-plugin-amis 2.5.0-beta.7 → 2.5.0-beta.8

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.
@@ -219,28 +219,28 @@
219
219
  // return div;
220
220
  // },
221
221
  jumpTo: (to, action) => {
222
- if (to === 'goBack') {
223
- return window.history.back();
224
- }
222
+ if (to === 'goBack') {
223
+ return window.history.back();
224
+ }
225
225
 
226
- to = normalizeLink(to);
226
+ to = normalizeLink(to);
227
227
 
228
- if (action && action.actionType === 'url') {
229
- action.blank === false ? (window.location.href = to) : window.open(to);
230
- return;
231
- }
228
+ if (action && action.actionType === 'url') {
229
+ action.blank === false ? (window.location.href = to) : window.open(to);
230
+ return;
231
+ }
232
232
 
233
- // 主要是支持 nav 中的跳转
234
- if (action && to && action.target) {
235
- window.open(to, action.target);
236
- return;
237
- }
233
+ // 主要是支持 nav 中的跳转
234
+ if (action && to && action.target) {
235
+ window.open(to, action.target);
236
+ return;
237
+ }
238
238
 
239
- if (/^https?:\/\//.test(to)) {
240
- window.location.replace(to);
241
- } else {
242
- FlowRouter.go(to);
243
- }
239
+ if (/^https?:\/\//.test(to)) {
240
+ window.location.replace(to);
241
+ } else {
242
+ FlowRouter.go(to);
243
+ }
244
244
  },
245
245
  theme: 'antd',
246
246
  isCurrentUrl: isCurrentUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.5.0-beta.7",
3
+ "version": "2.5.0-beta.8",
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": "17a14d482aaed86c7604cdbfa769a1618579283d",
16
+ "gitHead": "537101194e8c7c61a4eed846d28382126d947775",
17
17
  "devDependencies": {
18
18
  "tailwindcss": "3.2.4"
19
19
  }