resolver-egretimp-plus 0.0.82 → 0.0.83
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.
package/package.json
CHANGED
|
@@ -69,6 +69,14 @@ const dialogStyle = computed(() => {
|
|
|
69
69
|
return {color: 'red', 'height': dialogHeight}
|
|
70
70
|
})
|
|
71
71
|
|
|
72
|
+
const dialogProps = computed(() => {
|
|
73
|
+
const ret = Object.keys(ElDialog.props).reduce((ret, key) => {
|
|
74
|
+
ret[key] = props.dialogProps[key]
|
|
75
|
+
return ret
|
|
76
|
+
}, {})
|
|
77
|
+
return ret
|
|
78
|
+
})
|
|
79
|
+
|
|
72
80
|
function loadedConfigCompeted(pageConfig) {
|
|
73
81
|
rootOptionComp.value = pageConfig.rootOptionComp
|
|
74
82
|
}
|
|
@@ -89,9 +97,12 @@ defineExpose({
|
|
|
89
97
|
</script>
|
|
90
98
|
<template>
|
|
91
99
|
<ElConfigProvider :locale="locale">
|
|
92
|
-
<ElDialog class="open-child-frame"
|
|
100
|
+
<ElDialog class="open-child-frame"
|
|
101
|
+
:close-on-click-modal="false"
|
|
102
|
+
:width="dialogWidth"
|
|
103
|
+
v-bind="dialogProps"
|
|
104
|
+
v-model="dialogVisible"
|
|
93
105
|
:style="dialogStyle"
|
|
94
|
-
:close-on-click-modal="false" :width="dialogWidth"
|
|
95
106
|
>
|
|
96
107
|
<div>
|
|
97
108
|
</div>
|
|
@@ -90,7 +90,7 @@ export async function dispatchClickEvent(service, { dynamicMapComp, requestTrace
|
|
|
90
90
|
const ret = await (axiosInstance && axiosInstance(reqConfig))
|
|
91
91
|
afterRequestService && afterRequestService(ret)
|
|
92
92
|
|
|
93
|
-
if (!resultToast(ret?.data, messageInstance, {messageCb, service, compConfig, noSuccessIip: httpMethod.toLocaleLowerCase() === 'get'})) {
|
|
93
|
+
if (!resultToast(ret?.data, messageInstance, {messageCb, service, compConfig, noSuccessIip: httpMethod.toLocaleLowerCase() === 'get' || service.transactionType == '1'})) {
|
|
94
94
|
await Promise.reject()
|
|
95
95
|
return
|
|
96
96
|
}
|