fix : 优化流程图样式及位置,需求上报排版展示

This commit is contained in:
2024-06-29 03:30:26 +08:00
parent 0a6c37019a
commit e44b41bf14
9 changed files with 17 additions and 17 deletions

View File

@@ -217,7 +217,7 @@ const singleFile = ref(props.formData.singleFile)
const isSingleFile = ref(false)
const allFileList = ref([])
const singleFileList = ref([])
if(props.formData.fileList !== null && props.formData.fileList.length > 0){
if(props.formData.fileList !== null && props.formData.fileList?.length > 0){
allFileList.value = props.formData.fileList
}
watch(() => props.showTable, (newVal) => {
@@ -237,7 +237,7 @@ watch(() => props.formData.fileList, (newVal) => {
watch(() => props.otherFileList, (newVal) => {
// console.log('newotherFileList', newVal, props.formData)
if (props.preview) {
if (props.formData.fileList === null || props.formData.fileList.length === 0) {
if (props.formData.fileList === null || props.formData.fileList?.length === 0) {
allFileList.value = newVal
} else {
newVal?.forEach(item => {

View File

@@ -31,7 +31,6 @@ const props = defineProps({
const tagConfig = ref({})
const filterDict = (data, value) => {
console.log("🚀 ~ filterDict ~ data:", data)
if (!data || value == null) return
if (data instanceof Array) {
if (value == true || value == false) {