摘要: JS 数字类型只有number类型,number类型相当于其他强类型语言中的double类型(双精度浮点型),不区分浮点型和整数型。 以下是后端返回给我的数据 { name: "固定比例" value: "0.14" } 我在代码中为了实现百分比而进行了以下运算 {c.value * 100}% 但 阅读全文
posted @ 2022-03-15 16:15 2han9x1nyun 阅读(576) 评论(0) 推荐(0)
摘要: 在任意父级添加了transform属性且属性值不为none时,position: fixed会失效 阅读全文
posted @ 2022-02-21 10:53 2han9x1nyun 阅读(214) 评论(0) 推荐(0)
摘要: Client does not support authentication protocol requested by server; consider upgrading MySQL client 数据库连接失败, 在mysql窗口执行 ALTER USER 'root'@'localhost' 阅读全文
posted @ 2022-01-05 17:19 2han9x1nyun 阅读(105) 评论(0) 推荐(0)
摘要: <div onchange={this.pircechangee}> {this.dectlist.map((item, i) => { // 第一次map return <div class="littitle" domPropsInnerText={item.OptionsName}> <div 阅读全文
posted @ 2021-12-31 16:22 2han9x1nyun 阅读(722) 评论(0) 推荐(0)