likes
comments
collection
share

获取节点的特殊方式

作者站长头像
站长
· 阅读数 46
<input type="text" v-model="userEmail" name="regEmail" class="input-item email" placeholder="<?= lang('register_enter_address') ?>"/>
<input type="number" v-model="userPhone" name="regPhone" class="input-item phone" placeholder="<?= lang('register_enter_number') ?>"/>
var phone = $("input[name='regPhone']").val() || "";
var email = $("input[name='regEmail']").val() || "";
转载自:https://segmentfault.com/a/1190000041727191
评论
请登录