diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index cf4458d..0000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "recommendations": [
- "dbaeumer.vscode-eslint",
- "esbenp.prettier-vscode",
- "octref.vetur"
- ],
- "unwantedRecommendations": [
- "hookyqr.beautify",
- "dbaeumer.jshint",
- "ms-vscode.vscode-typescript-tslint-plugin"
- ]
-}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index d4af05c..d967348 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,7 +1,8 @@
{
- "vetur.validation.template": false,
- "vetur.format.enable": false,
- "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
- "typescript.tsdk": "node_modules/typescript/lib",
- "vetur.experimental.templateInterpolationService": true
-}
+ "i18n-ally.localesPaths": [
+ "src/i18n"
+ ],
+ "editor.codeActionsOnSave": {
+ "source.fixAll.eslint": true
+ },
+}
\ No newline at end of file
diff --git a/src/components/layout/drawer.vue b/src/components/layout/drawer.vue
new file mode 100644
index 0000000..8103d2e
--- /dev/null
+++ b/src/components/layout/drawer.vue
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+
+ elecV2P
+
+
+
+ {{ $q.localStorage.getItem('version') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/layout/hader.vue b/src/components/layout/hader.vue
new file mode 100644
index 0000000..eb4825c
--- /dev/null
+++ b/src/components/layout/hader.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+ 喜欢的话就贡献出你的小星星吧~
+
+
+
+
+ {{ $route.meta.desc }}
+
+
+
+
+
diff --git a/src/components/layout/message.vue b/src/components/layout/message.vue
new file mode 100644
index 0000000..958fd8f
--- /dev/null
+++ b/src/components/layout/message.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/layout/shell.vue b/src/components/layout/shell.vue
new file mode 100644
index 0000000..96ee909
--- /dev/null
+++ b/src/components/layout/shell.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+ Close
+
+
+ Minimize
+
+
+ Maximize
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/layout/status.vue b/src/components/layout/status.vue
new file mode 100644
index 0000000..305b78e
--- /dev/null
+++ b/src/components/layout/status.vue
@@ -0,0 +1,57 @@
+
+
+ RSS {{ status.data?.memoryusage.rss }}
+
+
+ heapTotal {{ status.data?.memoryusage.heapTotal }}
+
+
+ heapUsed {{ status.data?.memoryusage.heapUsed }}
+
+
+
diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
index b41d2a0..e11a805 100644
--- a/src/layouts/MainLayout.vue
+++ b/src/layouts/MainLayout.vue
@@ -1,466 +1,146 @@
-
-
-
-
-
-
-
- 喜欢的话就贡献出你的小星星吧~
-
-
-
-
-
- {{ $route.meta.desc }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- elecV2P
-
-
- {{ $q.localStorage.getItem('version') }}
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
- Close
-
-
- Minimize
-
-
- Maximize
-
-
-
-
-
-
-
-
- RSS {{ status.data?.memoryusage.rss }}
-
-
-
-
- heapTotal {{ status.data?.memoryusage.heapTotal }}
-
-
-
-
- heapUsed {{ status.data?.memoryusage.heapUsed }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
diff --git a/src/store/init.ts b/src/store/init.ts
index 44c2a53..5a70a41 100644
--- a/src/store/init.ts
+++ b/src/store/init.ts
@@ -3,14 +3,18 @@ import { defineStore } from 'pinia';
export interface InitStateInterface {
id: string;
version: number;
+ tag_name?: string;
}
export const useInitStore = defineStore('init', {
- state: (): InitStateInterface => ({ id: '', version: 0 }),
+ state: (): InitStateInterface => ({ id: '', version: 0, tag_name: '' }),
actions: {
setInitVal(state: InitStateInterface) {
this.id = state.id;
this.version = state.version;
+ },
+ setTagName(name: string) {
+ this.tag_name = name;
}
},
getters: {