feat: 生成视频页面2

This commit is contained in:
胡双明
2024-09-05 11:56:02 +08:00
parent 8b14eeadf4
commit 11c760a4e8
4 changed files with 60 additions and 59 deletions

View File

@@ -220,3 +220,12 @@ export function showLoginDialog(router) {
});
}
export const replaceImg =(img) => {
const devhost = "172.22.11.69"
const localhost = "localhost"
if (img.includes(localhost)) {
return img?.replace(localhost, devhost)
}
return img
}