|
@@ -101,7 +101,8 @@
|
|
|
@row-click="tableRowClick" @selection-change="tableSelection"
|
|
|
>
|
|
|
<template #action="{ row }">
|
|
|
- <el-link type="primary" @click.stop="consultFileClick(row, 1)">查阅案卷</el-link>
|
|
|
+ <el-link v-if="AppTheme === 'light'" type="primary" class="mylink" @click.stop="consultFileClick(row, 1)">查阅案卷</el-link>
|
|
|
+ <el-button v-else type="primary" size="small" @click.stop="consultFileClick(row, 1)">查阅案卷</el-button>
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
<template #action>
|
|
@@ -475,12 +476,14 @@ const tags = ref([])
|
|
|
|
|
|
const userAgent = navigator.userAgent
|
|
|
const isMac = userAgent.indexOf('Mac') !== -1
|
|
|
+const AppTheme = ref(useAppState.getTheme)
|
|
|
|
|
|
//监听
|
|
|
watch(() => [
|
|
|
- useAppState.getBubble, tags.value,
|
|
|
-], ([bubble, Tags]) => {
|
|
|
+ useAppState.getBubble, tags.value, useAppState.getTheme,
|
|
|
+], ([bubble, Tags, theme]) => {
|
|
|
isBubble.value = bubble
|
|
|
+ AppTheme.value = theme
|
|
|
if (Tags.length == 0) {
|
|
|
isShowheader.value = false
|
|
|
} else {
|