zchl-ui 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-d8e926cf.mjs → index-f5d53597.mjs} +4 -4
- package/dist/index-f5d53597.mjs.map +1 -0
- package/dist/{index.es-7dc4e05d.mjs → index.es-ca198c4e.mjs} +2 -2
- package/dist/{index.es-7dc4e05d.mjs.map → index.es-ca198c4e.mjs.map} +1 -1
- package/dist/zchl-ui.es.js +1 -1
- package/dist/zchl-ui.umd.js +1 -1
- package/dist/zchl-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/packages/zTree/js/initTree.js +2 -2
- package/dist/index-d8e926cf.mjs.map +0 -1
|
@@ -8818,9 +8818,9 @@ function initZtree_bank(domId, callback2) {
|
|
|
8818
8818
|
method: "get",
|
|
8819
8819
|
url: `/common/api/bank/organizationTree`
|
|
8820
8820
|
});
|
|
8821
|
-
if (res.
|
|
8821
|
+
if (res.status === 200) {
|
|
8822
8822
|
if (res.data) {
|
|
8823
|
-
const treeObj = $$1.fn.zTree.init($$1("#" + domId), setting2, res.data);
|
|
8823
|
+
const treeObj = $$1.fn.zTree.init($$1("#" + domId), setting2, [res.data]);
|
|
8824
8824
|
const nodes = treeObj.getNodes();
|
|
8825
8825
|
if (nodes.length > 0) {
|
|
8826
8826
|
treeObj.selectNode(nodes[0]);
|
|
@@ -19394,7 +19394,7 @@ function(t2) {
|
|
|
19394
19394
|
*/
|
|
19395
19395
|
function(t2) {
|
|
19396
19396
|
function e2() {
|
|
19397
|
-
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-
|
|
19397
|
+
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-ca198c4e.mjs")).catch(function(t3) {
|
|
19398
19398
|
return Promise.reject(new Error("Could not load canvg: " + t3));
|
|
19399
19399
|
}).then(function(t3) {
|
|
19400
19400
|
return t3.default ? t3.default : t3;
|
|
@@ -81111,4 +81111,4 @@ export {
|
|
|
81111
81111
|
commonjsGlobal as c,
|
|
81112
81112
|
index as i
|
|
81113
81113
|
};
|
|
81114
|
-
//# sourceMappingURL=index-
|
|
81114
|
+
//# sourceMappingURL=index-f5d53597.mjs.map
|