mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 00:26:20 +08:00
fix: repair packaging error
This commit is contained in:
@@ -2,7 +2,7 @@ type ProxyItem = [string, string];
|
|||||||
|
|
||||||
type ProxyList = ProxyItem[];
|
type ProxyList = ProxyItem[];
|
||||||
|
|
||||||
export function createProxy(list: ProxyList) {
|
export function createProxy(list: ProxyList = []) {
|
||||||
const ret: any = {};
|
const ret: any = {};
|
||||||
for (const [prefix, target] of list) {
|
for (const [prefix, target] of list) {
|
||||||
ret[prefix] = {
|
ret[prefix] = {
|
||||||
|
Reference in New Issue
Block a user