- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 element-variables.scss
/* Element Chalk Variables */ // Special comment for theme configurator // type|skipAutoTranslation|Category|Order // skipAutoTranslation 1 /* Transition -------------------------- */ $--all-transition: all .3s cubic-bezier(.645,.045,.355,1) !default; $.
2021-09-26 14:59:43
1903
原创 vue3+ts+ant 定制主题不生效
vue-cli3 默认加载到less less-loader 版本修改为 "less": "^3.13.1", "less-loader": "^6.0.0", // vue.config.js css: { loaderOptions: { less: { lessOptions: { // 修改变量 modifyVars: { "@primary-color": "#563391" }, javascriptEnabled: true, // 全局变量 globalVa
2021-01-28 09:41:18
787
原创 js 上传文件夹读取文件夹子文件name
html确实还真有这么一个规范,不过不确定到底有多少浏览器支持,用的是如下attribute: <input type="file" id="ctrl" webkitdirectory directory multiple/> 区别是,在chrome里,webkitdirectory起作用,允许你可以选择文件夹(里面的文件都能拿到哦); 而在firefox里,是multiple起作用,允许你可以选择多个文件(当然文件名也都拿到了) ...
2020-06-18 22:45:55
714
原创 控制 pc 端全屏
// 控制 pc 端全屏 var self = document.getElementsByTagName('body')[0]; if (self.requestFullscreen) { //html5新增的全屏方法 console.log(self.requestFullscreen) self.requestFullscreen(); } else if (self.mozRequestFullScreen) { //针对mozlia内核的hack self.moz...
2020-06-18 22:43:41
187
原创 core-js 问题
相同的项目 代码 在mac 上切换 core-js @2 到 @3 , 两个版本下都不会出现问题 (切换过程中清除了yarn 、npm缓存并确认core-js 版本), 但是在win10 的 电脑上 仅支持 core-js@2 版本 , @3 版本存在问题(更新了 node 、npm 版本 并清除缓存) ...
2020-06-18 22:41:44
1969
原创 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
问题:macOS安装Homebrew时总是报错(Failed to connect to raw.githubusercontent.com port 443: Connection refused) 原因:GitHub的raw.githubusercontent.com域名解析的问题 修改hosts sudo vim /etc/hosts 添加如下内容: 199.232.2...
2020-04-25 18:19:46
281
原创 Flutter 打包之后 flutter run 报错
error: Building for iOS Simulator, but the linked and embedded framework 'App.framework' was built for iOS. (in target 'Runner' from project 'Runner') 解决方法: rm -rf ios/Flutter/App.framework ...
2020-04-10 11:29:17
543
原创 element 控件 中英文翻译 ,
import VueI18n from 'vue-i18n' import ElementUI from 'element-ui' import ElementLocale from 'element-ui/lib/locale' import enLocale from 'element-ui/lib/locale/lang/en' import zhLocale from 'elemen...
2018-11-08 17:49:02
3526
2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人