|
@@ -17,12 +17,11 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { custom, params } from '@/env'
|
|
|
+import { custom } from '@/env'
|
|
|
import { computed, watchEffect } from 'vue'
|
|
|
-import { isEdit, appEl, prefix } from '@/store'
|
|
|
-import { addHook, addUnsetTokenURLS, delHook, getCaseInfo, delUnsetTokenURLS } from '@/api'
|
|
|
+import { isEdit, prefix, appEl } from '@/store'
|
|
|
+import { getCaseInfo } from '@/api'
|
|
|
import { currentLayout, RoutesName } from './router';
|
|
|
-import * as URL from '@/api/constant'
|
|
|
|
|
|
const layoutClassNames = computed(() => {
|
|
|
return {
|
|
@@ -46,8 +45,8 @@ const layoutStyles = computed(() => {
|
|
|
})
|
|
|
|
|
|
watchEffect(() => {
|
|
|
- if (currentLayout.value) {
|
|
|
- getCaseInfo().then(ecase => prefix.value = `${ecase.caseTitle} | `)
|
|
|
+ if (currentLayout.value && currentLayout.value !== RoutesName.signModel) {
|
|
|
+ getCaseInfo().then(ecase => prefix.value = ecase.caseTitle)
|
|
|
}
|
|
|
})
|
|
|
|