diff --git a/code/ts/后端辅助工具/src/DataType/Interface.ts b/code/ts/后端辅助工具/src/DataType/Interface.ts new file mode 100644 index 0000000..bb18198 --- /dev/null +++ b/code/ts/后端辅助工具/src/DataType/Interface.ts @@ -0,0 +1,5 @@ + +interface document +{ + getElementById(id: string): HTMLElement | null; +} \ No newline at end of file diff --git a/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue b/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue index 1699f73..ef9afb4 100644 --- a/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue +++ b/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2023-02-02 22:19:12 * @LastEditors: Kane - * @LastEditTime: 2023-02-13 12:50:29 + * @LastEditTime: 2023-02-14 08:54:25 * @FilePath: /IT工具综合平台/src/views/requirement/RequirementManager.vue * @Description: * @@ -418,12 +418,12 @@ export default { onUIChange(); //销毁详情页面的editor - // const detailEditor = detailEditorRef.value; + const detailEditor = detailEditorRef.value; - // if (detailEditor !== null) - // { - // detailEditor.destroy(); - // } + if (detailEditor != null) + { + detailEditor.destroy(); + } //销毁备注页的editor const commentEditor = commentEditorRef.value; @@ -478,7 +478,7 @@ export default { handleDetailEditorCreated, handleCommentEditorCreated, //生命周期 - onBeforeMount, + //onBeforeMount, }; //#endregion },