优化目录结构
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
* 处理通话结束后的操作,如重新连接或返回连接界面
|
||||
*/
|
||||
|
||||
import { showNotification } from '../utils.js';
|
||||
import { showNotification } from '../shared/utils.js';
|
||||
|
||||
// 重新连接
|
||||
function reconnectCall() {
|
||||
showNotification('正在重新连接...');
|
||||
|
||||
// 跳转到通话界面
|
||||
window.location.href = '../index.html';
|
||||
window.location.href = '/';
|
||||
}
|
||||
|
||||
// 离开
|
||||
@@ -19,7 +19,7 @@ function leaveCall() {
|
||||
localStorage.removeItem('connectionId');
|
||||
|
||||
// 跳转到连接界面
|
||||
window.location.href = '../connect/connect.html';
|
||||
window.location.href = '/connect/';
|
||||
}
|
||||
|
||||
// 绑定事件监听器
|
||||
|
||||
Reference in New Issue
Block a user