add: 添加外链功能

This commit is contained in:
xiaoxian521
2021-06-29 23:35:30 +08:00
parent 6b36c93779
commit a8bc76ed9c
8 changed files with 118 additions and 34 deletions

View File

@@ -66,7 +66,7 @@
<script lang='ts'>
import panel from "../panel/index.vue";
import { onMounted, reactive, toRefs, ref, unref } from "vue";
import { storageLocal } from "/@/utils/storage";
import { storageLocal, storageSession } from "/@/utils/storage";
import { toggleClass } from "/@/utils/operate";
import { emitter } from "/@/utils/mitt";
import { useRouter } from "vue-router";
@@ -145,6 +145,7 @@ export default {
function onReset() {
storageLocal.clear();
storageSession.clear();
router.push("/login");
}