fix: 修复项目部署二级目录自定义语音盒子主题文件资源异常问题

This commit is contained in:
zhuoqinglian
2026-01-19 11:30:28 +08:00
parent efa0d1095d
commit b4549ebc59
3 changed files with 31 additions and 28 deletions
@@ -338,8 +338,11 @@ export default {
});
},
handleGenertor() {
const pathname = window.location.pathname;
const basePath = pathname.split('/').slice(0, -1).join('/');
const url = `${window.location.origin}${basePath}/generator/`;
sessionStorage.setItem('devicePath', window.location.href);
window.location.href = `${window.location.origin}/generator/index.html`;
window.location.href = url;
},
goFirst() {
this.currentPage = 1;