【发布时间】:2019-10-16 07:08:00
【问题描述】:
我已尝试通过以下方式验证我的输入:
<input
type="text"
name="webhookURL"
placeholder="Enter webhook URL"
class="text-input"
v-validate="'required|url'"
/>
但如果我将这样填写输入,它会返回 true:google.com, 所以如果我要像这样填写http://exampleURL.com(使用http://或https://),我需要验证返回true
【问题讨论】:
标签: vuejs2 vee-validate