摘要:
1.定义collapseTransition .js 1 const elTransition = '0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out'; 2 const Tr 阅读全文
摘要:
1.新建xxx.js 定义策略对象和策略类 1 /*策略对象*/ 2 const strategies = { 3 // 是否为空 4 isNonEmpty(value, errorMsg) { 5 return value '' ? errorMsg : void 0; 6 }, 7 // 最小长 阅读全文