上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 74 下一页
摘要: Form 组件提供了表单验证的功能,只需要通过 rules 属性传入约定的验证规则,并将 Form-Item 的 prop 属性设置为需校验的字段名即可。 案例1 当不选择非长期营业期限时,不需要校验营业期限字段;当选择非长期营业期限时,需要校验营业期限 代码: <el-row type="flex 阅读全文
posted @ 2022-05-08 10:04 周文豪 阅读(2192) 评论(0) 推荐(0) 编辑
摘要: 添加required即可 <el-row type="flex" class="row-bg"> <el-col :span="24"> <el-form-item label="身份证图片:" required> <identity-card-upload :editable="true" tab 阅读全文
posted @ 2022-04-25 19:51 周文豪 阅读(485) 评论(0) 推荐(0) 编辑
摘要: sort() 方法用于对数组的元素进行排序。 排序顺序可以是字母或数字,并按升序或降序。默认排序顺序为按字母升序。 注意:当数字是按字母顺序排列时"40"将排在"5"前面。 语法: array.sort(sortfunction) 参数:sortfunction,可选。规定排序顺序。必须是函数。 一 阅读全文
posted @ 2022-04-22 11:26 周文豪 阅读(3854) 评论(0) 推荐(0) 编辑
摘要: 下载地址: 链接:https://pan.baidu.com/s/1Z14A2pDC6QJtAZsAo9ChlQ 提取码:0nz1 --来自百度网盘超级会员V5的分享 阅读全文
posted @ 2022-04-14 15:48 周文豪 阅读(11463) 评论(1) 推荐(5) 编辑
摘要: - 网络安全 - SQL注入 - XSS攻击 - CSRF攻击 - DDoS攻击 - DNS劫持 - TCP劫持 - 端口扫描技术 1、SQL注入 Web安全三板斧之首,大名鼎鼎的SQL注入。 SQL注入攻击的核心在于让Web服务器执行攻击者期望的SQL语句,以便得到数据库中的感兴趣的数据或对数据库 阅读全文
posted @ 2022-04-12 22:15 周文豪 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 一、横向 1、效果 2、代码 1)、TreeChart组件 <template> <table v-if="treeData.name"> <tr> <td :colspan="Array.isArray(treeData.children) ? treeData.children.length * 阅读全文
posted @ 2022-04-08 16:46 周文豪 阅读(2902) 评论(1) 推荐(0) 编辑
摘要: 一、效果 点击更多按钮,展开如下: 二、vue2代码 <el-table-column label="操作" align="center" width="240" class-name="small-padding fixed-width"> <template slot-scope="scope" 阅读全文
posted @ 2022-04-08 15:03 周文豪 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 报错如下: ERROR Failed to compile with 42 errors 15:15:24 error in ./src/styles/index.scss Module build failed (from ./node_modules/sass-loader/lib/loader 阅读全文
posted @ 2022-04-07 15:22 周文豪 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 属性说明 生成的二维码中间可以放头像 1、安装 以管理员身份运行 npm install vue-qr --save 2、页面导入 vue2.x import VueQr from 'vue-qr' vue3.x import vueQr from 'vue-qr/src/packages/vue- 阅读全文
posted @ 2022-04-07 12:44 周文豪 阅读(2942) 评论(0) 推荐(0) 编辑
摘要: 1、原因分析 这个错误发生在mysql 5.7 版本及以上版本会出现的问题:mysql 5.7版本默认的sql配置是:sql_mode="ONLY_FULL_GROUP_BY",这个配置严格执行了"SQL92标准"。 很多从5.6升级到5.7时,为了语法兼容,大部分都会选择调整sql_mode,使其 阅读全文
posted @ 2022-04-07 10:57 周文豪 阅读(1554) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 74 下一页