From cf5c3cde7d0dbec44d4c2f7bea87c4d5362accb0 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期五, 06 九月 2024 09:56:19 +0800
Subject: [PATCH] 修改按钮的text修改为link

---
 src/views/project/yw/dataManage/graph/AddGraph.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/project/yw/dataManage/graph/AddGraph.vue b/src/views/project/yw/dataManage/graph/AddGraph.vue
index 0102068..e98b819 100644
--- a/src/views/project/yw/dataManage/graph/AddGraph.vue
+++ b/src/views/project/yw/dataManage/graph/AddGraph.vue
@@ -1,7 +1,7 @@
 <template>
 	<div class="h100 overflow-y-auto p-[16px]">
 		<div class="mb-[10px] flex items-center">
-			<el-button style="margin-left: 8px; width: 40px" text @click="handleExitFlow">
+			<el-button style="margin-left: 8px; width: 40px" link @click="handleExitFlow">
 				<el-icon style="font-size: 24px !important">
 					<ArrowLeft />
 				</el-icon>
@@ -75,7 +75,7 @@
 <script setup lang="ts">
 import type { UploadUserFile } from 'element-plus';
 import { ElMessage } from 'element-plus';
-import { reactive, ref } from 'vue';
+import { onMounted, reactive, ref } from 'vue';
 import { useRoute, useRouter } from 'vue-router';
 import { add_knowledge_file } from '/@/api/knowledge/group';
 const uploadFileChange = (rule, value, callback) => {
@@ -89,7 +89,7 @@
 const state = reactive({
 	detailTitle: '瀵煎叆鏁版嵁',
 	categoryForm: {
-		ImportCategory: '榛樿绫荤洰',
+		ImportCategory: '',
 		CategoryType: '鏈湴绫荤洰',
 		DocumentRecognition: '1',
 	},
@@ -150,6 +150,10 @@
 		}
 	});
 };
+onMounted(() => {
+	const group_title = route.query.title;
+	state.categoryForm.ImportCategory = group_title;
+});
 </script>
 <style scoped lang="scss">
 .set-form-height {

--
Gitblit v1.9.3