fix: 修改data模块的数据调用和全局设定

This commit is contained in:
MTrun
2022-03-22 15:46:17 +08:00
parent 890dd88b5f
commit 4d55e5a57b
9 changed files with 54 additions and 58 deletions
@@ -6,7 +6,7 @@ import { readFile, downloadFile } from '@/utils'
export const useFile = (targetData: any) => {
const uploadFileListRef = ref()
const option = toRef(targetData, 'option')
console.log(option)
//@ts-ignore
const beforeUpload = ({ file }) => {
uploadFileListRef.value = []