浏览代码

删除缓存

lex 1 年之前
父节点
当前提交
1aaeadf5e8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/views/notation/index.tsx

+ 1 - 0
src/views/notation/index.tsx

@@ -17,6 +17,7 @@ export default defineComponent({
     console.log(Authorization);
     const notationOpenCreate = sessionStorage.getItem('notation-open-create');
     const openCreateUrl = notationOpenCreate == '1' ? '&addShow=1' : '';
+    sessionStorage.removeItem('notation-open-create');
     const data = reactive({
       src: `${
         /(192|localhost)/.test(location.origin)