Closed AmazingBubble closed 6 months ago
贴下代码看看
<FormItem
:value="data.callback"
>
<template slot="label">
<span class="margin-r-8">{{ _$('设置回调') }}</span>
<KSwitch v-model="openCallback" size='small' />
</template>
<Input v-if="openCallback" class="margin-t-8" width="400" v-model="data.callback" :placeholder="_$('请输入回调地址,以http[s]://开头')"></Input>
</FormItem>
@AmazingBubble label标签默认行为影响,如下阻止默认行为即可 <FormItem :value="data.callback"
{{ _$('设置回调') }}...
CodeSandbox <FormItem :value="data.callback"
Description