mirror of https://github.com/veops/cmdb.git
feat: webhook tips
This commit is contained in:
parent
43be749c58
commit
ca0f332650
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue