From 2bc0e513863121be97eda597d4c8b1273b31223a Mon Sep 17 00:00:00 2001 From: g122622 <51020363+g122622@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:36:28 +0800 Subject: [PATCH] v1.2.0 --- package.json | 2 +- src/App.vue | 8 +++- src/api/hash/getDigest.ts | 6 +++ src/api/registerBuiltinOpenMethods.ts | 37 +++++++++++++++++- src/assets/json/defaultSettings.ts | 46 +++++++++++++---------- src/assets/whatsNew.ts | 3 +- src/background.js | 2 + src/components/Dialogs/PostUpdateInfo.vue | 4 +- src/components/shared/DialogGenerator.vue | 14 ++++++- src/main.ts | 2 + src/store/dialog.ts | 40 ++++++++++++++++++++ 11 files changed, 136 insertions(+), 28 deletions(-) create mode 100644 src/api/hash/getDigest.ts create mode 100644 src/store/dialog.ts diff --git a/package.json b/package.json index 0e6569e..931eee1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gcrypt", - "version": "1.1.0", + "version": "1.2.0", "private": false, "author": "g122622", "repository": "https://github.com/g122622/gcrypt", diff --git a/src/App.vue b/src/App.vue index 8b80cb6..3e96f62 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,8 +9,10 @@ - + + +
@@ -40,6 +42,7 @@ import { useSettingsStore } from "./store/settings" import { useMainStore } from "./store/main" import { useRoute } from 'vue-router' import hexToRGB from "@/utils/hexToRGB" +import { useDialogStore } from "@/store/dialog"; // 组件 import MsgContainer from "./components/Msg/MsgContainer.vue" @@ -50,9 +53,11 @@ import SystemBar from "./components/SystemBar.vue" import OpenMethodSelector from './components/Dialogs/OpenMethodSelector.vue'; import SideColumn from "./components/SideColumn.vue"; import PostUpdateInfo from './components/Dialogs/PostUpdateInfo.vue' +import DialogGenerator from './components/shared/DialogGenerator.vue' const settingsStore = useSettingsStore() const mainStore = useMainStore() +const dialogStore = useDialogStore() const route = useRoute() const finishLoading = ref(false) @@ -74,7 +79,6 @@ onMounted(async () => {