![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
demelys
开心就好
展开
-
antd Select限制个数 5个
const selectTypeRule = ({ getFieldValue }) => ({ validator( _,value ){ if( value ){ if(value.length>5){ return Promise.reject(new Error('使用场景最多选5个')); } }else{ return Promise.reject(new Error('请选择使用.转载 2022-05-27 19:46:13 · 1008 阅读 · 2 评论 -
Failed to compile.
问题Failed to compile.export 'LineChart' (imported as 'LineChart') was not found in './lib/export/charts.js' (module has no exports)node_modules/echarts/index.js解决方法把cache目录下清理一下原创 2022-04-27 20:59:49 · 1176 阅读 · 0 评论 -
VS Code创建第一个vue项目命令记录
vsCode 创建项目步骤sudo npm install -g vue-cli 下载vue-cli模版cd Desktop/到桌面cd testh5 到项目目录vue init webpack 项目名称, 初始化项目cd vueH5npm run dev 运行项目...原创 2019-09-23 21:57:32 · 83 阅读 · 0 评论