摘要: 1 import { 2 validatenull 3 } from '@/util/validate'; 4 import website from '@/config/website' 5 6 const keyName = website.key + '-'; 7 /** 8 * 存储loca 阅读全文
posted @ 2020-10-08 14:26 浪魔 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 将数组转化成树结构 array to tree 3 * @param {*} array 数据源 4 * @param {*} options 字段名配置项 5 */ 6 function arrayToTree( 7 array = [], 8 options = { id: 阅读全文
posted @ 2020-10-08 09:34 浪魔 阅读(406) 评论(0) 推荐(1) 编辑