webpackJsonp([2], [function(e, t, a) {
"use strict";
a.d(t, "a", function() {
return i
}),
a.d(t, "d", function() {
return s
}),
a.d(t, "h", function() {
return r
}),
a.d(t, "f", function() {
return o
}),
a.d(t, "c", function() {
return n
}),
a.d(t, "i", function() {
return l
}),
a.d(t, "b", function() {
return c
}),
a.d(t, "e", function() {
return u
}),
a.d(t, "g", function() {
return p
});
var i = "https://1234567/aa"
, s = "https://1234567/img/"
, r = "http://1234567bb"
, o = "https://1234567/cc"
, n = "http://1234567/dd"
, l = "https://1234567/ee"
, c = "http://1234567/ff"
, u = "https://1234567/gg"
, p = "https://1234567/hh"
}
, , , , function(e, t, a) {
"use strict";
function i(e) {
switch (e) {
case "1":
e = "同步成功";
break;
case "2":
e = "新增失败";
break;
case "3":
e = "更新失败";
break;
case "4":
e = "删除失败";
break;
default:
e = "未同步"
}
return e
}
a.d(t, "b", function() {
return s
}),
t.a = i,
a.d(t, "c", function() {
return r
});
var s = function(e, t) {
var a = void 0
, i = void 0
, s = e.idKey
, r = e.pIdKey
, o = e.children;
if (!s || "" === s || !t)
return [];
if ("[object Array]" === Object.prototype.toString.call(t)) {
var n = []
, l = {};
for (a = 0,
i = t.length; a < i; a++)
l[t[a][s]] = t[a];
for (a = 0,
i = t.length; a < i; a++)
l[t[a][r]] && t[a][s] !== t[a][r] ? (l[t[a][r]][o] || (l[t[a][r]][o] = []),
l[t[a][r]][o].push(t[a])) : n.push(t[a]);
return n
}
return [t]
}
, r = function() {
var e = localStorage.getItem("userInfo");
return e ? JSON.parse(e) : null
}
}
我想修改
var i = "https://1234567/aa"
, s = "https://1234567/img/"
, r = "http://1234567bb"
, o = "https://1234567/cc"
, n = "http://1234567/dd"
, l = "https://1234567/ee"
, c = "http://1234567/ff"
, u = "https://1234567/gg"
, p = "https://1234567/hh"