From 64920403797a80149ac1ba2cd2426ad5db044bec Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期一, 26 八月 2024 14:58:01 +0800
Subject: [PATCH] fix: 修改settings 备注
---
src/views/dmx/IntelligentAgent/components/agentConfig.vue | 33 ++++++++-------------------------
1 files changed, 8 insertions(+), 25 deletions(-)
diff --git a/src/views/dmx/IntelligentAgent/components/agentConfig.vue b/src/views/dmx/IntelligentAgent/components/agentConfig.vue
index 7ee066c..65c161f 100644
--- a/src/views/dmx/IntelligentAgent/components/agentConfig.vue
+++ b/src/views/dmx/IntelligentAgent/components/agentConfig.vue
@@ -1,25 +1,4 @@
<template>
- <a-button
- v-if="typeAngint == 'add'"
- type="primary"
- @click="handleClick"
- style="margin-left: 10px"
- >
- <template #icon>
- <icon-plus />
- </template>
- 鏂板缓鏅鸿兘浣�
- </a-button>
- <a-button
- v-if="typeAngint == 'edit'"
- type="text"
- size="small"
- @click="editClick"
- >
- <template #icon>
- <icon-tool />
- </template>
- </a-button>
<a-modal
v-model:visible="visible"
title="鏅鸿兘浣撻厤缃�"
@@ -514,9 +493,6 @@
const handleClick = () => {
visible.value = true;
};
- defineExpose({
- handleClick,
- });
const handleCancel = () => {
visible.value = false;
@@ -546,7 +522,7 @@
'浣犳槸涓�涓櫤鑳藉姪鎵嬶紝璇锋�荤粨鐭ヨ瘑搴撶殑鍐呭鏉ュ洖绛旈棶棰橈紝璇峰垪涓剧煡璇嗗簱涓殑鏁版嵁璇︾粏鍥炵瓟銆傚綋鎵�鏈夌煡璇嗗簱鍐呭閮戒笌闂鏃犲叧鏃讹紝浣犵殑鍥炵瓟蹇呴』鍖呮嫭鈥滅煡璇嗗簱涓湭鎵惧埌鎮ㄨ鐨勭瓟妗堬紒鈥濊繖鍙ヨ瘽銆�' +
'鍥炵瓟闇�瑕佽�冭檻鑱婂ぉ鍘嗗彶銆俓n 浠ヤ笅鏄煡璇嗗簱锛歕n {knowledge}\n 浠ヤ笂鏄煡璇嗗簱銆�';
}
- console.log(form, '鏂板缓鏅鸿兘浣撳脊绐�');
+ // console.log(form, '鏂板缓鏅鸿兘浣撳脊绐�');
avatarShow.value = false;
setTimeout(() => {
avatarShow.value = true;
@@ -629,6 +605,7 @@
});
};
+
const addVariable = () => {
form.prompt_config.parameters.push({
index: form.prompt_config.parameters.length,
@@ -699,6 +676,12 @@
onMounted(() => {});
onBeforeUnmount(() => {});
+
+ defineExpose({
+ handleClick,
+ editClick
+ });
+
</script>
<style lang="less" scoped>
:deep(.arco-tabs-nav-tab-list) {
--
Gitblit v1.8.0