feat: webhook tips

This commit is contained in:
wang-liang0615 2023-09-26 18:17:23 +08:00
parent 43be749c58
commit ca0f332650
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,7 @@
</div> </div>
</div> </div>
</div> </div>
<span v-if="triggerAction === '2'" class="trigger-tips">{{ webhookTips }}</span>
<Webhook ref="webhook" style="margin-top:10px" v-if="triggerAction === '2'" /> <Webhook ref="webhook" style="margin-top:10px" v-if="triggerAction === '2'" />
</CustomDrawer> </CustomDrawer>
</template> </template>
@ -235,6 +236,7 @@ export default {
defaultDateForm, defaultDateForm,
defaultNotify, defaultNotify,
tips: '标题、内容可以引用该模型的属性值,引用方法为: {{ attr_name }}', tips: '标题、内容可以引用该模型的属性值,引用方法为: {{ attr_name }}',
webhookTips: '请求参数可以引用该模型的属性值,引用方法为: {{ attr_name }}',
visible: false, visible: false,
category: 1, category: 1,
form: _.cloneDeep(defaultForm), form: _.cloneDeep(defaultForm),