elementUI
文章平均质量分 85
每逢佳节掉三根.
要想技术提升那就得付出努力.
展开
-
vue-admin-template改成中文
直接开始有些人git clone下来发现他都是英文然后就开始百度改成中文发现都是这样的博客看下面代码如果有人要做国际化可以去element官网国际化看看写的很详细import locale from 'element-ui/lib/locale/lang/en' // lang i18nimport locale from 'element-ui/lib/locale/lang/z...原创 2019-10-29 13:56:21 · 12605 阅读 · 1 评论 -
elementUI使用中遇到的坑
1、通过el-upload获取到的文件file是封装后的,其中与普通input type=file 中获取到的文件是elementUI中的file.raw;如果在读取文件时直接使用elementUI的file会报错:Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1 is not of ‘Blob’2...原创 2018-11-21 20:01:20 · 3942 阅读 · 0 评论