@@ -60,6 +60,6 @@ export const appBackRoot = 'https://www.4dkankan.com/'
export const getResource = (uri: string) => {
- if (~uri.indexOf('base64') || ~uri.indexOf('bolb') || ~uri.indexOf('//')) return uri
+ if (~uri.indexOf('base64') || ~uri.indexOf('bolb') || ~uri.indexOf('//') || uri.startsWith('/')) return uri
return `${baseURL}/${uri}`
}
@@ -23,6 +23,7 @@ export const getModelTypeDesc = (model: ModelType) => {
return SceneTypeDesc[model.type]
+
export const getModelDesc = (model: ModelType) => {
console.log(model)
if (model === fuseModel) {