From b9286c3e05d75503818eb6b04fb11200cb3695f6 Mon Sep 17 00:00:00 2001 From: qq_38870145 Date: Tue, 24 Oct 2023 23:20:00 +0800 Subject: [PATCH] Tue Oct 24 23:20:00 CST 2023 inscode --- src/App.vue | 7 ++++++- src/components/commit/Commit.vue | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/components/commit/Commit.vue diff --git a/src/App.vue b/src/App.vue index 812f9b7..839035c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,9 +2,10 @@ import GameChart from './components/GameChart.vue' import SearchGrade from './components/SearchGrade.vue' import Draw from './components/draw/Draw.vue' +import Commit from './components/commit/Commit.vue' import { reactive, onBeforeMount } from 'vue'; const state = reactive({ - current: 'grade查询分数' + current: '评论' }) onBeforeMount(() => { @@ -29,6 +30,9 @@ onBeforeMount(() => { else if(data['type'] = 'draw'){ state.current = '抽奖' } + else if(data['type'] = 'commit'){ + state.current = '评论' + } } }) @@ -45,6 +49,7 @@ onBeforeMount(() => { + diff --git a/src/components/commit/Commit.vue b/src/components/commit/Commit.vue new file mode 100644 index 0000000..4993ae9 --- /dev/null +++ b/src/components/commit/Commit.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file -- GitLab