mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 08:06:32 +00:00
fix: 调整部分代码细节
This commit is contained in:
parent
e1639b3242
commit
ca3e42a4a3
@ -44,8 +44,4 @@ const currentExam = computed(() => {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.exam-list {
|
||||
margin: 20px;
|
||||
}
|
||||
</style>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col cols="12">
|
||||
<v-btn @click="openDialog" color="primary" dark> 打开配置 </v-btn>
|
||||
<v-btn color="primary" @click="openDialog" dark> 打开配置 </v-btn>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
@ -25,7 +25,7 @@ function openDialog() {
|
||||
|
||||
window.electron.ipcRenderer.on('common:openFile', (event, message) => {
|
||||
console.log(message.data);
|
||||
let examData = JSON.parse(message.data);
|
||||
const examData = JSON.parse(message.data);
|
||||
globalStore.$patch(examData);
|
||||
router.push('/infoPage');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user