上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: 有dataSourceConfig就报错 直接删掉 阅读全文
posted @ 2023-04-16 08:49 皮豪 阅读(9) 评论(0) 推荐(0) 编辑
摘要: \w就是[0-9a-zA-Z_] \s是[ \t\v\n\r\f] \S是[^ \t\v\n\r\f] \W是[^0-9a-zA-Z_] \D就是[^0-9] \d就是[0-9] . 就是[^\n\r\u2028\u2029]。表示几乎任意字符。 var reg = /\w{1,30}(\.\w{1 阅读全文
posted @ 2023-04-15 15:28 皮豪 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 问题: 因为TypeScript不支持直接给一个接口类型的变量 赋一个未知的值。 如 const a:A = { name:'s' }; 你需要给这样的对象或数组值使用as 指定一个类型。 正确写法: const a:A = { name:'s' } as A; 数组写法一样: const a:A[ 阅读全文
posted @ 2023-04-15 09:23 皮豪 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 需求:我在写一个todocard,当我点击checkbox时候,父组件也会触发。 我需要在点击子组件checkbox的时候,父组件不触发。 解决方案: 在子组件上加 @click.stop 阅读全文
posted @ 2023-04-15 07:42 皮豪 阅读(450) 评论(0) 推荐(0) 编辑
摘要: Uncaught TypeError: Cannot read properties of null (reading 'element') nnot read properties of null (reading 'index') 错误写法 就是说子组件需要用div包着,你用其他东西,他无法添加 阅读全文
posted @ 2023-04-14 23:12 皮豪 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 主要代码是 .parent { justify-content: space-between; } 完整代码案例 .tasklist{ height: calc(80vh); overflow-y: auto; overflow-x: hidden; border: 1px solid #ccc; 阅读全文
posted @ 2023-04-13 22:14 皮豪 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 直接在子元素上把flex-shrink设置为0,即可。 .parent div { flex-shrink: 0; } 设置前 设置后 完整代码 .kanban-list { display: flex; width:100%; flex-direction: row; overflow-y: au 阅读全文
posted @ 2023-04-13 21:55 皮豪 阅读(50) 评论(0) 推荐(0) 编辑
摘要: https://geekdaxue.co/read/me-note@vue/mydm8l 需要设置 basicURL 然后就生效了 { "compilerOptions": { // 设置解析非相对模块名称的基本目录 "baseUrl": ".", // 设置模块名到基于baseUrl的路径映射,可 阅读全文
posted @ 2023-04-08 22:57 皮豪 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 代码部分 任务: 将实验7中的Power idea公司的数据按照下图显示出来 用时3天。 代码行为240行左右。 小结: 在一个模块中,使用了全局的四个寄存器,ax,bx,cx,dx 务必要 使用成对的push-pop相等恢复,不然出现的出错在代码量大了后很难发现 如下:是进行一个 si 寄存器值的 阅读全文
posted @ 2023-04-05 15:05 皮豪 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 显示字符串 assume cs:code,ds:data,ss:stack data segment db 'Welcome to masm!',0 data ends stack segment dd 16 dup(0) stack ends code segment start: mov ax, 阅读全文
posted @ 2023-04-01 19:28 皮豪 阅读(15) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页