上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: 参考: https://wudi98.blog.csdn.net/article/details/99748904 阅读全文
posted @ 2020-08-19 11:28 小魏code 阅读(3436) 评论(0) 推荐(0)
摘要: 参考 : https://www.cnblogs.com/muamaker/p/11647626.html 父组件中 代码 import { useState, useEffect, useRef } from 'react'; // 开票触发模态框 const childRef = useRef( 阅读全文
posted @ 2020-08-19 10:03 小魏code 阅读(2839) 评论(0) 推荐(0)
摘要: 音频文件 要放在线上 线上路径文件 本地文件不生效 <audio id="dsds" src="https://192.168.1.20:8082/file/hotel/1.mp3"></audio> 不能在 页面一开始加载就播放 因为 谷歌浏览器禁止了 自动播放属性 只有在页面交互时触发 播放事件 阅读全文
posted @ 2020-08-18 17:57 小魏code 阅读(1169) 评论(0) 推荐(0)
摘要: 参考: https://www.jianshu.com/p/bf0a4e3926a4 https://blog.csdn.net/qq_30944053/article/details/98761447 可以封装js 文件 export const openPostWindow = (url, da 阅读全文
posted @ 2020-08-18 16:28 小魏code 阅读(1310) 评论(0) 推荐(0)
摘要: ant desgin pro https://pro.ant.design/docs/getting-started-cn pro components 表格组件 : https://procomponents.ant.design/ actionRef.current.reloadAndRest( 阅读全文
posted @ 2020-08-17 11:22 小魏code 阅读(6506) 评论(0) 推荐(0)
摘要: jsx 中的的弹框 <Modal confirmLoading={true} width={1000} style={{ textAlign: 'center' }} title={intitlebiao} visible={invisible} okText="提交" footer={ isock 阅读全文
posted @ 2020-08-17 08:49 小魏code 阅读(661) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/csj50/article/details/95374844 参考参考 阅读全文
posted @ 2020-08-17 08:22 小魏code 阅读(198) 评论(0) 推荐(0)
摘要: https://zhidao.baidu.com/question/271411520.html 参考 阅读全文
posted @ 2020-08-14 08:20 小魏code 阅读(196) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_40044912/article/details/107812704 react hooks子给父传值 https://blog.csdn.net/zyj12138/article/details/107468389 子组件: import { us 阅读全文
posted @ 2020-08-13 17:35 小魏code 阅读(7903) 评论(0) 推荐(0)
摘要: 这里使用了props.form.getFieldDecorator(id,{选择操作})方法来包装一个Input输入框组件,传入的第一个参数表示这个字段的Id,第二个参数是一个配置对象,这里设置了表单控件的校验规则rules。 问题:填写Form表单时会发报 Warning: `getFieldDe 阅读全文
posted @ 2020-08-13 15:10 小魏code 阅读(5846) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页