feat:聊天新增ai
This commit is contained in:
@@ -2,10 +2,14 @@ export const getUrl = (fileId) => {
|
||||
if (fileId == null || fileId == undefined) {
|
||||
return "/acquiesce.png"
|
||||
}
|
||||
else {
|
||||
return getEnvUrl(fileId)
|
||||
if (fileId.startsWith(`${import.meta.env.VITE_APP_BASEAPI}`)) {
|
||||
return fileId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
return getEnvUrl(fileId)
|
||||
|
||||
};
|
||||
|
||||
const getEnvUrl = (str) => {
|
||||
|
||||
Reference in New Issue
Block a user