|
@@ -458,16 +458,35 @@
|
|
|
<SvgIcon name="czr_tip" color="var(--czr-error-color)" />
|
|
|
编排中有申请中的模型,预览暂不可用
|
|
|
</div>
|
|
|
- <el-tooltip
|
|
|
- content="重新生成对话"
|
|
|
- :raw-content="true"
|
|
|
- placement="top"
|
|
|
- >
|
|
|
+ <el-tooltip content="重新开始" :raw-content="true" placement="top">
|
|
|
<SvgIcon class="__hover ml-auto" name="refresh" :active="true" />
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- <div class="flex-1 overflow-hidden">
|
|
|
+ <div class="relative flex-1 overflow-hidden">
|
|
|
<chat />
|
|
|
+ <div
|
|
|
+ v-if="!state.isDebug"
|
|
|
+ class="absolute inset-0 flex h-full w-full flex-col rounded-lg bg-white/50 p-20 backdrop-blur-sm"
|
|
|
+ >
|
|
|
+ <div class="text-2xl font-bold text-[#1d2939]">编排已改变</div>
|
|
|
+ <div class="mt-6 text-[#667085]">
|
|
|
+ 修改编排将重置调试区域,确定吗?
|
|
|
+ </div>
|
|
|
+ <div class="mt-6 flex gap-2">
|
|
|
+ <CzrButton
|
|
|
+ type="primary"
|
|
|
+ title="重新开始"
|
|
|
+ icon="refresh"
|
|
|
+ size="18"
|
|
|
+ @click="state.isDebug = true"
|
|
|
+ />
|
|
|
+ <CzrButton
|
|
|
+ type="normal"
|
|
|
+ title="取消"
|
|
|
+ @click="state.isDebug = true"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -551,6 +570,7 @@ const state: any = reactive({
|
|
|
value: '',
|
|
|
},
|
|
|
dragRefresh: true,
|
|
|
+ isDebug: false,
|
|
|
})
|
|
|
const ref_form = ref()
|
|
|
const ref_prologue = ref()
|
|
@@ -719,6 +739,7 @@ const autoSave = debounce((v) => {
|
|
|
setTimeout(() => {
|
|
|
loading.close()
|
|
|
state.autoSaveTimestamp = YMDHms(new Date())
|
|
|
+ state.isDebug = false
|
|
|
}, 1000)
|
|
|
}, 3000)
|
|
|
onMounted(() => {
|