摘要:
<el-form ref="w_center" > </el-form> this.$refs.w_center.validate(valid => { if (!valid) return; 内容 }) 阅读全文
摘要:
https://blog.csdn.net/liu_zhaoming/article/details/76896287 阅读全文
摘要:
html <input type="text" id='password' placeholder="密码" /> <div id='intension'> <div>弱</div> <div>中</div> <div>强</div> </div> css <style> #intension di 阅读全文
摘要:
div{ //ie兼容透明 filter: alpha(opacity=0); opacity: 0; } 阅读全文
摘要:
<fieldset class="wp"> <legend class="inner">分割线</legend> </fieldset> css .wp { font-size: 14px; color: #999; border: 0; border-top: 1px solid #ccc; pa 阅读全文
摘要:
if (res.data.bank == "CCB") { this.form.bank_name = "中国建设银行"; } else if (res.data.bank == "PSBC") { this.form.bank_name = "中国邮政储蓄银行"; } else if (res.d 阅读全文
摘要:
Html <input type="date" id="time" min="2019-12-13" /> Js var date = new Date(); var year = date.getFullYear(); var month = ('0' + (date.getMonth() + 1 阅读全文
摘要:
window.onbeforeunload = function (e) { var e = window.event || e; e.returnValue = ("确定离开当前页面吗?"); } 阅读全文
摘要:
function myBrowser() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 if (userAgent.indexOf("Firefox") > -1) { return ("FF", console.log('F 阅读全文
摘要:
vscod: 点击左下角设置==>用户代码片段==>搜索创建react.json==>贴入代码 { "Print to console": { "scope": "javascript,typescript", "prefix": "react", "body": [ "import React, 阅读全文