摘要: 阅读全文
posted @ 2022-08-05 10:24 敲敲碰碰 阅读(34) 评论(0) 推荐(0)
摘要: css移动端星号(*)文字对其问题可以通过更换星号图标来解决 图标地址:https://www.jiuwa.net/fuhao/agg/13/ 阅读全文
posted @ 2022-08-05 10:15 敲敲碰碰 阅读(191) 评论(0) 推荐(0)
摘要: 在vue.config.js里面添加如下代码: chainWebpack: (config) => { ... config.plugin("define").tap((args) => { args[0]["process"] = {...args[0]["process.env"]} retur 阅读全文
posted @ 2022-08-04 16:20 敲敲碰碰 阅读(5170) 评论(0) 推荐(1)
摘要: 一、引入第三方js,全局变量申明问题。 1.创建.d.ts文件,比如引入js需要创建构造实例可以如下申明。 2. 如果是普通函数直接如下申明即可: declare function TCPlayer(...args: any[]): any; 二、忽略部分语句跳过ts检查。可以使用 @ts-expe 阅读全文
posted @ 2022-08-04 16:13 敲敲碰碰 阅读(296) 评论(0) 推荐(0)
摘要: Date.prototype.Format = function (fmt) { // author: meizz var o = { "M+": this.getMonth() + 1, // 月份 "d+": this.getDate(), // 日 "h+": this.getHours(), 阅读全文
posted @ 2022-08-01 07:42 敲敲碰碰 阅读(32) 评论(0) 推荐(0)
摘要: 方案1: const reg = /^(.)1*$/ return reg.test("111111111") 方案2: str.replaceAll("1", "").trim() "" 阅读全文
posted @ 2022-04-20 12:29 敲敲碰碰 阅读(341) 评论(0) 推荐(0)
摘要: 原因:设置高度,el-table设置高度后合计就不会显示了。 解决办法,样式里面加入如下代码: .el-table { overflow: visible !important; } 阅读全文
posted @ 2022-01-04 15:42 敲敲碰碰 阅读(934) 评论(0) 推荐(0)
摘要: 转 https://blog.csdn.net/qq_38244874/article/details/108733692 阅读全文
posted @ 2021-12-31 10:37 敲敲碰碰 阅读(173) 评论(0) 推荐(0)
摘要: npm install babel-polyfill --save npm i es6-promise --save-dev main.js import Es6Promise from 'es6-promise' import 'babel-polyfill' Es6Promise.polyfil 阅读全文
posted @ 2021-12-31 10:02 敲敲碰碰 阅读(328) 评论(0) 推荐(0)
摘要: 参见 (转) https://blog.csdn.net/qq_43241161/article/details/106379311 阅读全文
posted @ 2021-12-31 09:55 敲敲碰碰 阅读(202) 评论(0) 推荐(0)