fix : 优化流程图样式及位置,需求上报排版展示
This commit is contained in:
@@ -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 => {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user