08 2022 档案
摘要:css移动端星号(*)文字对其问题可以通过更换星号图标来解决 图标地址:https://www.jiuwa.net/fuhao/agg/13/
阅读全文
摘要:在vue.config.js里面添加如下代码: chainWebpack: (config) => { ... config.plugin("define").tap((args) => { args[0]["process"] = {...args[0]["process.env"]} retur
阅读全文
摘要:一、引入第三方js,全局变量申明问题。 1.创建.d.ts文件,比如引入js需要创建构造实例可以如下申明。 2. 如果是普通函数直接如下申明即可: declare function TCPlayer(...args: any[]): any; 二、忽略部分语句跳过ts检查。可以使用 @ts-expe
阅读全文
摘要:Date.prototype.Format = function (fmt) { // author: meizz var o = { "M+": this.getMonth() + 1, // 月份 "d+": this.getDate(), // 日 "h+": this.getHours(),
阅读全文

浙公网安备 33010602011771号