resolver-egretimp-plus 0.0.172 → 0.0.174
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,8 +69,11 @@ export default {
|
|
|
69
69
|
const messageCb = inject('_messageCb')
|
|
70
70
|
const messageInstance = inject('_messageInstance')
|
|
71
71
|
const builtPolyfillReq = inject('_builtPolyfillReq')
|
|
72
|
+
const rootValue = inject('rootValue')
|
|
72
73
|
|
|
73
74
|
const selects = inject('selects')
|
|
75
|
+
|
|
76
|
+
definePrivatelyProp(props.config, '_rootValue', rootValue)
|
|
74
77
|
// 当前组件的实例
|
|
75
78
|
const instance = getCurrentInstance()
|
|
76
79
|
const appContext = instance?.appContext
|
|
@@ -205,7 +208,6 @@ export default {
|
|
|
205
208
|
|
|
206
209
|
const _isH5 = inject('_isH5')
|
|
207
210
|
const lang = inject('lang')
|
|
208
|
-
const rootValue = inject('rootValue')
|
|
209
211
|
const onClick = (e, params) => {
|
|
210
212
|
const context = {
|
|
211
213
|
props,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { resultToast } from "../../utils/respone"
|
|
2
2
|
|
|
3
|
-
export async function executeLoadServices(services = [], { requestTraceId, businessIdentityReqData = {}, axiosInstance, messageInstance, reqData, respCb }) {
|
|
3
|
+
export async function executeLoadServices(services = [], { requestTraceId, businessIdentityReqData = {}, axiosInstance, messageInstance, reqData, respCb, notLoadCb }) {
|
|
4
4
|
if (reqData?.notLoad) {
|
|
5
|
+
notLoadCb && notLoadCb()
|
|
5
6
|
return
|
|
6
7
|
}
|
|
7
8
|
const noramlReqData = {
|
package/src/index.jsx
CHANGED
|
@@ -179,6 +179,9 @@ export default {
|
|
|
179
179
|
businessIdentityReqData: props.businessIdentityReqData,
|
|
180
180
|
axiosInstance,
|
|
181
181
|
reqData: {...props.loadEvnetsReq, ...props.dialogReq},
|
|
182
|
+
notLoadCb: () => {
|
|
183
|
+
nativeDataLoad.value = true
|
|
184
|
+
},
|
|
182
185
|
respCb: (result) => {
|
|
183
186
|
nativeDataLoad.value = true
|
|
184
187
|
let val = result
|
|
@@ -199,9 +199,6 @@ export function parseCondition(rule) {
|
|
|
199
199
|
// } else {
|
|
200
200
|
conditionsRet = conditions.map(condition => {
|
|
201
201
|
const { refType, refValue, targetType, targetValue } = condition
|
|
202
|
-
// if (refValue === 'studentId') {
|
|
203
|
-
// debugger
|
|
204
|
-
// }
|
|
205
202
|
if (conditionType.COMPONENT == refType) {
|
|
206
203
|
const labelInfos = getCurrentComp.call(this, `${tabpanelCode ? tabpanelCode + '->' : ''}${refValue}`)
|
|
207
204
|
if (!labelInfos || labelInfos.length !== 1) {
|