试一下修改 src\components\lowBpmDesign\src\components\nodeConfig\ConfigBranch.vue
:formType="isDesignView ? 'view' : 'edit'"
修改完,本地可以打开了,发布到线上还是不能打开,控制台也没错误日志
本地可以正常弹出选择框,是打包的问题吗?
src\components\lowBpmDesign\src\components\nodeConfig\ConfigBranch.vue
覆盖一下这一块代码
<template #value-form="{ row }">
<AvueSlot
v-if="['userSelect', 'deptSelect'].includes(row.controlType)"
v-model="row.value"
slot-type="form"
:form-type="isDesignView ? 'view' : 'edit'"
:scope="{
...(allDicData.formFieldObj[row.formId]?.fieldObj?.[row.prop]?.scope || {}),
disabled: isDesignView
}"
:control="{ controlType: row.controlType, prop: 'value' }"
>
</AvueSlot>
<component
v-else
:is="getValComponent(row)"
v-bind="allDicData.formFieldObj[row.formId]?.fieldObj?.[row.prop] || {}"
:disabled="isDesignView"
></component>
</template>
我正在参加 Gitee 2025 最受欢迎的年度开源软件投票活动,请为 JeeLowCode 投上宝贵一票。
试一下修改 src\components\lowBpmDesign\src\components\nodeConfig\ConfigBranch.vue
:formType="isDesignView ? 'view' : 'edit'"