|
@@ -1,15 +1,12 @@
|
|
|
<template>
|
|
|
<div v-if="store.setting && store.setting.subject.name" class="mark-header">
|
|
|
<div class="mark-header-part">
|
|
|
- <a-tooltip>
|
|
|
- <template #title>回评</template>
|
|
|
- <div
|
|
|
- :class="['header-menu', { 'is-toggled': store.historyOpen }]"
|
|
|
- @click="store.toggleHistory"
|
|
|
- >
|
|
|
- <img class="header-icon" src="@/assets/icons/icon-left-menu.svg" />
|
|
|
- </div>
|
|
|
- </a-tooltip>
|
|
|
+ <div
|
|
|
+ :class="['header-menu', { 'is-toggled': store.historyOpen }]"
|
|
|
+ @click="store.toggleHistory"
|
|
|
+ >
|
|
|
+ <img class="header-icon" src="@/assets/icons/icon-left-menu.svg" />回评
|
|
|
+ </div>
|
|
|
<div class="header-subject" :title="store.setting.subject.name">
|
|
|
{{
|
|
|
`${store.setting.subject.code ?? ""}-${
|
|
@@ -227,9 +224,9 @@ let changeProfileRef = $ref<InstanceType<typeof MarkChangeProfile>>();
|
|
|
// 应该是@typescript-eslint/no-unsafe-call不完美的搞法,导致了下面的调用会出错
|
|
|
type ShowModalFunc = () => void;
|
|
|
|
|
|
-const openProfileModal = () => {
|
|
|
- (changeProfileRef.showModal as ShowModalFunc)();
|
|
|
-};
|
|
|
+// const openProfileModal = () => {
|
|
|
+// (changeProfileRef.showModal as ShowModalFunc)();
|
|
|
+// };
|
|
|
|
|
|
let switchGroupRef = $ref<InstanceType<typeof MarkSwitchGroupDialog>>();
|
|
|
|