@steedos/service-plugin-amis 2.4.0-beta.23 → 2.4.0-beta.25
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.
|
@@ -251,7 +251,10 @@
|
|
|
251
251
|
const refName = schema.name || schema.id;
|
|
252
252
|
if(SteedosUI.refs[refName]){
|
|
253
253
|
if(SteedosUI.refs[refName].unmount){
|
|
254
|
-
|
|
254
|
+
try {
|
|
255
|
+
SteedosUI.refs[refName].unmount()
|
|
256
|
+
} catch (Exception) {
|
|
257
|
+
}
|
|
255
258
|
}else{
|
|
256
259
|
console.log(`not find amis scope unmount`)
|
|
257
260
|
}
|
|
@@ -300,7 +303,10 @@
|
|
|
300
303
|
const refName = schema.name || schema.id;
|
|
301
304
|
if(SteedosUI.refs[refName]){
|
|
302
305
|
if(SteedosUI.refs[refName].unmount){
|
|
303
|
-
|
|
306
|
+
try {
|
|
307
|
+
SteedosUI.refs[refName].unmount()
|
|
308
|
+
} catch (Exception) {
|
|
309
|
+
}
|
|
304
310
|
}else{
|
|
305
311
|
console.log(`not find amis scope unmount`)
|
|
306
312
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"requestAdaptor": "const formData = api.data.$;\napi.data = { objects: formData.objects };\nreturn api;",
|
|
22
22
|
"responseData": null,
|
|
23
|
-
"adaptor": "\nif (api.body.objectName === \"tabs\") {\n // 在tabs列表操作”对象选项卡“按钮,保存后需要刷新主列表\n
|
|
23
|
+
"adaptor": "\nif (api.body.objectName === \"tabs\") {\n // 在tabs列表操作”对象选项卡“按钮,保存后需要刷新主列表\n}\nreturn payload;\n ",
|
|
24
24
|
"headers": {
|
|
25
25
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
26
26
|
}
|
|
@@ -836,24 +836,7 @@
|
|
|
836
836
|
],
|
|
837
837
|
"panelClassName": "m-0 -mt-3",
|
|
838
838
|
"bodyClassName": "p-4",
|
|
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
|
-
],
|
|
839
|
+
"actions": [],
|
|
857
840
|
"actionsClassName": "p-sm b-t b-light text-center",
|
|
858
841
|
"className": "steedos-amis-form",
|
|
859
842
|
"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.
|
|
3
|
+
"version": "2.4.0-beta.25",
|
|
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.
|
|
17
|
+
"@steedos-widgets/amis-lib": "^1.0.21"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "1a46fbee4dd51269a59dc80ff30fde5572679c3a",
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tailwindcss": "3.2.4"
|
|
22
22
|
}
|
|
@@ -123,6 +123,10 @@ body.steedos .-mt-3 {
|
|
|
123
123
|
margin-top: -0.75rem
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
body.steedos .mt-3 {
|
|
127
|
+
margin-top: 0.75rem
|
|
128
|
+
}
|
|
129
|
+
|
|
126
130
|
body.steedos .block {
|
|
127
131
|
display: block
|
|
128
132
|
}
|
|
@@ -242,6 +246,10 @@ body.steedos .border-r {
|
|
|
242
246
|
border-right-width: 1px
|
|
243
247
|
}
|
|
244
248
|
|
|
249
|
+
body.steedos .border-b {
|
|
250
|
+
border-bottom-width: 1px
|
|
251
|
+
}
|
|
252
|
+
|
|
245
253
|
body.steedos .border-solid {
|
|
246
254
|
border-style: solid
|
|
247
255
|
}
|