@steedos/service-plugin-amis 2.4.0-beta.19 → 2.4.0-beta.20

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.
@@ -223,7 +223,7 @@
223
223
  to = normalizeLink(to);
224
224
 
225
225
  if (action && action.actionType === 'url') {
226
- action.blank === false ? (window.location.href = to) : window.open(to);
226
+ action.blank === true ? window.open(to): (window.location.href = to);
227
227
  return;
228
228
  }
229
229
 
@@ -836,7 +836,24 @@
836
836
  ],
837
837
  "panelClassName": "m-0 -mt-3",
838
838
  "bodyClassName": "p-4",
839
- "actions": [],
839
+ "actions": [
840
+ {
841
+ "type": "button",
842
+ "label": "取消",
843
+ "actionType": "",
844
+ "level": "default",
845
+ "block": false,
846
+ "onClick": "SteedosUI.getRef(props.data.__super.modalName).close();",
847
+ "id": "u:bf2587b53d64"
848
+ },
849
+ {
850
+ "type": "button",
851
+ "label": "保存",
852
+ "actionType": "submit",
853
+ "level": "info",
854
+ "id": "u:08afd6e53cab"
855
+ }
856
+ ],
840
857
  "actionsClassName": "p-sm b-t b-light text-center",
841
858
  "className": "steedos-amis-form",
842
859
  "checkAll": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.4.0-beta.19",
3
+ "version": "2.4.0-beta.20",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "yarn build:tailwind-base && yarn build:tailwind",
@@ -14,9 +14,9 @@
14
14
  "access": "public"
15
15
  },
16
16
  "dependencies": {
17
- "@steedos-widgets/amis-lib": "^1.0.10"
17
+ "@steedos-widgets/amis-lib": "^1.0.20"
18
18
  },
19
- "gitHead": "0a5d60be217f234f44dfd83ba5886c6e1bcea082",
19
+ "gitHead": "21e6705921d682193a70b10a2e0e402a3ca32539",
20
20
  "devDependencies": {
21
21
  "tailwindcss": "3.2.4"
22
22
  }