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