12 2020 档案

摘要:<img :src="item.url " :onerror="defaultImg" /> data(){ return{ default_src:'onerror=null;this.src="' + require('../../../assets/img/default.png')+'"', 阅读全文

posted @ 2020-12-30 17:43 凡凡0410 阅读(986) 评论(0) 推荐(0) 编辑 |

摘要:需求:对代码进行比较,并且提交修改后的代码 安装:npm install codemirror diff-match-patch --save 引入: import CodeMirror from 'codemirror'; import "codemirror/theme/neat.css"; / 阅读全文

posted @ 2020-12-29 11:54 凡凡0410 阅读(2627) 评论(0) 推荐(0) 编辑 |

摘要:<a data-v-644b21e1="" href="http://10.0.0.0:8088/xxxx/xxx/xxx.exe" download="下载" target="_blank" class="c-default">http://10.0.0.0:8088/xxxx/xxx/xxx.e 阅读全文

posted @ 2020-12-23 10:49 凡凡0410 阅读(6567) 评论(1) 推荐(1) 编辑 |

摘要:1.IP的正则 let ipReg = /^((2[0-4]\d|25[0-5]|[01]?\d\d?)\.){3}(2[0-4]\d|25[0-5]|[01]?\d\d?)$/; 2.url的正则 let urlReg = new RegExp('(https?|ftp|file)://[A-Za 阅读全文

posted @ 2020-12-21 15:19 凡凡0410 阅读(323) 评论(0) 推荐(0) 编辑 |

摘要:问题描述:在主页面中M,有一个按钮点击出来的弹框是使用了一个自定义组件A;在A组件中使用了组件B B组件中根据A组件传过来的值不同,请求的接口不同;出现的问题是,B中获取不到A中传过来的值,即使我的值是一个常量 <B :flag="true"><B> 在B中,flag的值获取不到 原因是:B组件的出 阅读全文

posted @ 2020-12-18 14:03 凡凡0410 阅读(969) 评论(0) 推荐(0) 编辑 |

随笔 - 116, 文章 - 0, 评论 - 6, 阅读 - 19万

Copyright © 2025 凡凡0410
Powered by .NET 9.0 on Kubernetes

点击右上角即可分享
微信分享提示