07 2020 档案

摘要:1.Date ——> String 使用的函数:DATE_FORMAT(date,format) date:需要转换的日期 format:格式化的样式 format样式: 年: %Y 显示四位 : 2015 %y 只显示后两位 :15 月: %M 月份的英文显示:October %m 月份的阿拉伯显 阅读全文
posted @ 2020-07-24 16:17 德豪 阅读(4525) 评论(0) 推荐(0)
摘要:报错信息 cnpm : 无法加载文件 D:\Program Files\nodejs\node_global\cnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execut 阅读全文
posted @ 2020-07-24 11:24 德豪 阅读(4331) 评论(0) 推荐(1)
摘要:这里转载一篇vscode的快捷键供大家分享 https://www.cnblogs.com/schut/p/10461840.html 阅读全文
posted @ 2020-07-24 11:19 德豪 阅读(116) 评论(0) 推荐(0)
摘要:VSCode中默认使用vetur插件格式化vue文件时,js代码会自动加上冒号和分号 该问题解决办法:把"vetur.format.defaultFormatter.js": "prettier",改为 "vetur.format.defaultFormatter.js": "vscode-type 阅读全文
posted @ 2020-07-24 09:52 德豪 阅读(5308) 评论(0) 推荐(0)
摘要:此方法为上传前对文件进行效验 beforeAvatarUploadPdf (file) { var testmsg = file.name.substring(file.name.lastIndexOf('.') + 1) const extension = testmsg 'jpg' const 阅读全文
posted @ 2020-07-22 09:30 德豪 阅读(3475) 评论(0) 推荐(0)