소스 검색

fix: 部门录入数据

lanceJiang 1 년 전
부모
커밋
a48589ce19
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/components/packages/formEditor/components/Panels/Config/components/PropsPanel.vue

+ 5 - 1
src/components/packages/formEditor/components/Panels/Config/components/PropsPanel.vue

@@ -504,7 +504,11 @@ onMounted(() => {
 		</PanelsConfigComponentsTypeComponent>
 		<!-- 数据录入 -->
 		<PanelsConfigComponentsTypeComponent
-			v-if="checkTypeBySelected(['radio', 'checkbox', 'cascader'], 'dataEntry') || (target.options.renderType === 1 && target.type === 'select')"
+			v-if="
+				checkTypeBySelected(['radio', 'checkbox'], 'dataEntry') ||
+				(target.options.renderType === 1 && target.type === 'select') ||
+				(target.type === 'cascader' && target.options.renderType === 1)
+			"
 			:label="t('er.public.Data')"
 			:layout-type="0"
 		>