<input type="text" placeholder="请填写手机号" maxlength="11" v-model="phone" @focus="getFocus" /> getFocus() { $("input").on("blur", function() { window.scroll(0, 0); }); },
<input type="text" placeholder="请填写手机号" maxlength="11" v-model="phone" @focus="getFocus" /> getFocus() { $("input").on("blur", function() { window.scroll(0, 0); }); },