仿钉钉流程设计器- bug 修复

pull/452/head
jason 2024-05-13 09:32:32 +08:00
parent 6cf69f04ab
commit e1fc9039b2
1 changed files with 3 additions and 2 deletions

View File

@ -162,7 +162,7 @@ const formType = inject<Ref<number>>('formType') // 表单类型
const conditionConfigTypes = computed( ()=> {
return CONDITION_CONFIG_TYPES.filter(item => {
//
//
if (formType?.value !== 10 ){
return item.value === 1
} else {
@ -350,9 +350,10 @@ const deleteConditionRule = (condition:Condition, idx:number) => {
condition.rules.splice(idx, 1)
}
const fieldsInfo : any[] = [];
let fieldsInfo : any[] = [];
const getFieldsInfo = () => {
fieldsInfo = [];
if(formFields){
formFields.value.forEach((fieldStr: string) => {
const { field, title, type } = JSON.parse(fieldStr)