|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="header-top">
|
|
|
- <el-button type="primary" plain @click="emit('backPage')">返 回</el-button>
|
|
|
+ <el-button type="primary" v-if="route.name != 'drawShareFile'" plain @click="emit('backPage')">返 回</el-button>
|
|
|
<h2>创建{{ BoardTypeDesc[type] }}</h2>
|
|
|
<div class="right-pano">
|
|
|
<div class="actions">
|
|
@@ -42,11 +42,14 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
+import { RouteName, router } from "@/router";
|
|
|
import { BoardType } from "@/store/caseFile";
|
|
|
import { BoardTypeDesc } from "@/constant/caseFile";
|
|
|
import { onMounted, onUnmounted } from "vue";
|
|
|
import { inputIng } from "./c";
|
|
|
|
|
|
+const route = router.currentRoute.value;
|
|
|
+
|
|
|
const props = defineProps<{
|
|
|
type: BoardType;
|
|
|
forwardDisabled?: boolean;
|