d2-crud-plus树形菜单
一、api.jsimport { request } from '@/api/service'const apiPrefix = '接口地址'export function GetList (query) { return request({ url: apiPrefix + '/list', method: 'get', params: query }).then(ret => { ret.data = ret.data ? ret.data : {