@steedos/service-plugin-amis 2.4.0-beta.24 → 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
|
}
|
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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
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
|
}
|