|
@@ -98,12 +98,6 @@ onMounted(() => {
|
|
|
}, 0);
|
|
|
});
|
|
|
|
|
|
-// 组件卸载时恢复默认标题
|
|
|
-// onUnmounted(() => {
|
|
|
-// pageTitle.value = appConstant.title; // 使用 pageTitle
|
|
|
-// desc.value = appConstant.desc;
|
|
|
-// });
|
|
|
-
|
|
|
// 处理菜单点击事件
|
|
|
const handleMenuClick = (menu) => {
|
|
|
currentMenuKey.value = menu.key;
|
|
@@ -122,7 +116,7 @@ const handleMenuClick = (menu) => {
|
|
|
};
|
|
|
const expandFireNews = () => {
|
|
|
// 不切换标签页,只打开编辑弹窗
|
|
|
- editHandler(currentRecord.value.tmProject);
|
|
|
+ editHandler(currentRecord.value);
|
|
|
}
|
|
|
// 开始录制方法
|
|
|
const startRecording = () => {
|
|
@@ -134,7 +128,7 @@ const startRecording = () => {
|
|
|
|
|
|
const editHandler = async (example: any) => {
|
|
|
if (await editExample({ example })) {
|
|
|
- refresh();
|
|
|
+ window.location.reload();
|
|
|
}
|
|
|
};
|
|
|
|