摘要: 页面提示以下错误 1.babel.config.js配置 2.vue.config.js配置 阅读全文
posted @ 2024-06-25 20:17 PromiseOne 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1 // 参数dom为html dom节点 2 // 参数key为需模糊查询的名称字段 3 function queryClassNode(dom, key) { 4 let collectArray = []; 5 for (let i = 0; i < dom.childNodes.length 阅读全文
posted @ 2024-01-22 11:16 PromiseOne 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1 <template> 2 <div 3 v-bind="$attrs" 4 v-on="$listeners" 5 > 6 <template v-for="(index, name) in $slots" v-slot:[name]> 7 <slot :name="name"/> 8 </te 阅读全文
posted @ 2024-01-14 16:33 PromiseOne 阅读(452) 评论(0) 推荐(0) 编辑
摘要: <template> <!-- html模板 --> <div class="a-class"> <div class="b-class"> <div class="c-class">vue页面书写规范</div> </div> </div> </template> <script> /* 模块系统 阅读全文
posted @ 2023-09-05 10:14 PromiseOne 阅读(59) 评论(0) 推荐(0) 编辑
摘要: .line { width: 100%; background: repeating-linear-gradient( -45deg, rgba(0, 41, 136, 0.4) 0px 24px, #fff 24px 48px, rgba(238, 0, 7, 0.4) 48px 72px, #f 阅读全文
posted @ 2023-08-30 15:45 PromiseOne 阅读(42) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>切片上传</title> </head> <body> <script src="https://cdn.bootcdn.net/ajax/libs/spark 阅读全文
posted @ 2023-05-29 11:40 PromiseOne 阅读(28) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2023-02-24 16:20 PromiseOne 阅读(81) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/m0_61073617/article/details/124430213 阅读全文
posted @ 2023-02-06 10:48 PromiseOne 阅读(301) 评论(0) 推荐(0) 编辑
摘要: let checkImgExists = function(url) { return new Promise(function(resolve, reject) { let ImgObj = new Image(); ImgObj.src = url; ImgObj.onload = functi 阅读全文
posted @ 2023-01-30 14:58 PromiseOne 阅读(721) 评论(0) 推荐(0) 编辑
摘要: https://zh-hans.reactjs.org/warnings/unknown-prop.html 阅读全文
posted @ 2023-01-05 10:27 PromiseOne 阅读(138) 评论(0) 推荐(0) 编辑