增加自动化富文本组件

This commit is contained in:
piexlMax
2023-08-08 12:54:36 +08:00
parent 19987234e5
commit e73f9ac8f2
12 changed files with 201 additions and 9 deletions

View File

@@ -91,5 +91,5 @@ export default class ImageCompress {
}
}
const path = import.meta.env.VITE_BASE_API + '/'
const path = import.meta.env.VITE_FILE_API + '/'
export const getUrl = (url) => url && url.slice(0, 4) !== 'http' ? path + url : url