1 2 3 4 5 ··· 13 下一页
摘要: //实现指定多少时间后执行callback const wait = (delay,callback) => { let p = new Promise((res,rej)=>{ setTimeout(()=>{ res(callback) },delay) }).then((callback)=> 阅读全文
posted @ 2021-10-27 09:23 石头记1 阅读(50) 评论(0) 推荐(0)
摘要: .errBox{ font-size: 12px; position: absolute; top:40px; color: #ff0000; border:1px solid #ff0000; width:120px; line-height:22px; text-align:center; ba 阅读全文
posted @ 2025-10-05 10:56 石头记1 阅读(4) 评论(0) 推荐(0)
摘要: let data = [ {id:1,value:'a'}, {id:1,value:'ab'}, {id:1,value:'abc'}, {id:1,value:'abcd'}, {id:2,value:'e'}, {id:2,value:'ef'}, {id:3,value:'g'}, {id: 阅读全文
posted @ 2025-09-29 14:15 石头记1 阅读(4) 评论(0) 推荐(0)
摘要: //webpack必须采用commonjs写法 let path = require('path'); //专门处理路径用的 console.log(path.resolve('./dist'));//根据当前路径解析出一个绝对路径[E:\GIT\webpack\dist] let HtmlWebp 阅读全文
posted @ 2025-06-24 10:04 石头记1 阅读(5) 评论(0) 推荐(0)
摘要: *{padding:0;margin:0;box-sizing:border-box;} $primary: #409EFF; $primary-hover: #66b1ff; $primary-active: #3a8ee6; $font-size:12px; $border-radius:4px 阅读全文
posted @ 2025-03-31 20:01 石头记1 阅读(11) 评论(0) 推荐(0)
摘要: 黑盒测试BDD(先开发功能再测试是否能实现) 白盒测试TDD(先写测试用例,测试驱动开发) 测试框架:vue/test-utils(vue用) Jest(node模拟dom环境) 测试用例文件:.test.js结尾 .spec.js结尾(vue) npm init -ynpm install jes 阅读全文
posted @ 2025-03-26 10:30 石头记1 阅读(13) 评论(0) 推荐(0)
摘要: Vue.filter('format',function(timer,formatter){ //filter 没有this return moment(timer).format(formatter) }) let vm = new Vue({ el:'#app', data(){ return 阅读全文
posted @ 2025-02-07 14:42 石头记1 阅读(14) 评论(0) 推荐(0)
摘要: .net更新引用: 第一步:ABC_WS -> ****.asmx文件右键“在浏览器中查看” 第二步:ABC_MVC -> Web References -> Basic_WS右键“更新web引用” 创建页面传参: public ActionResult Info() { string curID 阅读全文
posted @ 2025-01-21 10:39 石头记1 阅读(13) 评论(0) 推荐(0)
摘要: <div id="sxt" style="width:335px;height:300px;position: relative;"></div> <div id="paiZhao" style="display: none;"> <a href="javascript:void(0)" class 阅读全文
posted @ 2025-01-10 14:32 石头记1 阅读(26) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <style type="text/css"> .upper_limit_notice4 { width: 79px 阅读全文
posted @ 2024-12-27 16:28 石头记1 阅读(6) 评论(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 @ 2024-12-13 10:34 石头记1 阅读(11) 评论(0) 推荐(0)
1 2 3 4 5 ··· 13 下一页