refactor: 去掉无用代码
This commit is contained in:
parent
98f25c99f2
commit
6a24d2eb8d
@ -98,15 +98,6 @@ const uniqueParagraphList = computed(() => {
|
|||||||
}) || []
|
}) || []
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
function fileType(name: string) {
|
|
||||||
const suffix = name.split('.')
|
|
||||||
return suffix[suffix.length - 1]
|
|
||||||
}
|
|
||||||
const typeList: any = {
|
|
||||||
txt: ['txt', 'pdf', 'docx', 'csv', 'md', 'html'],
|
|
||||||
table: ['xlsx', 'xls', 'csv'],
|
|
||||||
QA: ['xlsx', 'csv', 'xls']
|
|
||||||
}
|
|
||||||
|
|
||||||
function openLink(url: string) {
|
function openLink(url: string) {
|
||||||
// 如果url不是以/结尾,加上/
|
// 如果url不是以/结尾,加上/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user