message: fix(upload): ensure preview items valid
diff: </BasicModal>
  </template>
  <script lang="ts">
  - import { defineComponent, watch, ref, unref } from 'vue';
  + import { defineComponent, watch, ref } from 'vue';
  // import { BasicTable, useTable } from '/@/components/Table';
  import FileList from './FileList';
  watch(
  () => props.value,
  (value) => {
  - fileListRef.value = [];
  - value.forEach((item) => {
  - fileListRef.value = [
  - ...unref(fileListRef),
  - {
  + fileListRef.value = value
  + .filter((item) => !!item)
  + .map((item) => {
  + return {
  url: item,
  type: item.split('.').pop() || '',
  name: item.split('/').pop() || '',
  - },
  - ];
  + };
  });
  },
  { immediate: true }
  