mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
fix:课程管理面授课未创建点击关闭按钮刷新问题
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<div style="margin-right: 57px; cursor: pointer">
|
||||
<img
|
||||
@click="visibleClose"
|
||||
@click="noEditClose"
|
||||
style="width: 22px; height: 22px"
|
||||
src="@/assets/images/basicinfo/close22.png"
|
||||
/>
|
||||
@@ -424,6 +424,13 @@ export default defineComponent({
|
||||
emit("visibleClose");
|
||||
};
|
||||
|
||||
// 未编辑直接离开的 不予刷新
|
||||
const noEditClose = () => {
|
||||
state.ft_hs = false;
|
||||
ft_exit();
|
||||
emit("noEdit");
|
||||
}
|
||||
|
||||
expose({
|
||||
visibleOpen,
|
||||
visibleClose,
|
||||
@@ -735,7 +742,7 @@ export default defineComponent({
|
||||
handleTagClose,
|
||||
handlePush,
|
||||
reviewClick,
|
||||
|
||||
noEditClose,
|
||||
editorRef,
|
||||
valueHtml,
|
||||
mode: "simple", // 或 'simple'
|
||||
|
||||
Reference in New Issue
Block a user