编辑发起变更获取字段为空判断修改
This commit is contained in:
@@ -590,8 +590,8 @@ defineExpose({form, questions, applyAiResult, generateLevel: useAiLevel})
|
||||
<div class="flex flex-1 flex-wrap items-center gap-2 rounded-lg bg-slate-50 px-3 py-2">
|
||||
<NButton size="small" round v-for="t in RISK_TOOLS_FORM" :key="t.key" @click="toggleTool(t)" title="点击选用 / 取消;AI 辅助分析在各工具插件内使用"
|
||||
class="text-sm"
|
||||
:ghost="form.risk_tools.includes(t.key) ? false : true"
|
||||
:type="form.risk_tools.includes(t.key) ? 'primary' : 'default'"
|
||||
:ghost="form.risk_tools?.includes(t.key) ? false : true"
|
||||
:type="form.risk_tools?.includes(t.key) ? 'primary' : 'default'"
|
||||
>
|
||||
{{ t.label }}
|
||||
</NButton>
|
||||
|
||||
Reference in New Issue
Block a user