|
@@ -197,7 +197,7 @@
|
|
|
|
|
|
import { getUrl, isVideoExt } from '@/utils/image'
|
|
|
import { onMounted, ref } from 'vue'
|
|
|
-import { getgatewayList, editFileName } from '@/api/fileUploadAndDownload'
|
|
|
+import {editFileName, getFileList} from '@/api/fileUploadAndDownload'
|
|
|
import UploadImage from '@/components/upload/image.vue'
|
|
|
import UploadCommon from '@/components/upload/common.vue'
|
|
|
import WarningBar from '@/components/warningBar/warningBar.vue'
|
|
@@ -321,7 +321,7 @@ const openChooseImg = async() => {
|
|
|
}
|
|
|
|
|
|
const getImageList = async() => {
|
|
|
- const res = await getgatewayList({ page: page.value, pageSize: pageSize.value, ...search.value })
|
|
|
+ const res = await getFileList({ page: page.value, pageSize: pageSize.value, ...search.value })
|
|
|
if (res.code === 0) {
|
|
|
picList.value = res.data.list
|
|
|
total.value = res.data.total
|