提交 da4dabc2 编写于 作者: Q qq_38870145

Auto Commit

上级 9cee0f46
...@@ -4,7 +4,7 @@ import SearchGrade from './components/SearchGrade.vue' ...@@ -4,7 +4,7 @@ import SearchGrade from './components/SearchGrade.vue'
import Draw from './components/draw/Draw.vue' import Draw from './components/draw/Draw.vue'
import { reactive, onBeforeMount } from 'vue'; import { reactive, onBeforeMount } from 'vue';
const state = reactive({ const state = reactive({
current: '抽奖' current: 'grade查询分数'
}) })
onBeforeMount(() => { onBeforeMount(() => {
...@@ -26,6 +26,9 @@ onBeforeMount(() => { ...@@ -26,6 +26,9 @@ onBeforeMount(() => {
else if(data['type'] = 'csdn_grade'){ else if(data['type'] = 'csdn_grade'){
state.current = 'grade查询分数' state.current = 'grade查询分数'
} }
else if(data['type'] = 'draw'){
state.current = '抽奖'
}
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册