@leevan/jtui 2.0.31 → 2.0.32
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/examples/form/form.vue +1 -0
- package/lib/jtui.common.js +8 -8
- package/lib/jtui.umd.js +8 -8
- package/lib/jtui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/jt-form-pc/JtFormPc.vue +2 -2
- package/yarn.lock +0 -9248
package/package.json
CHANGED
|
@@ -321,7 +321,7 @@ export default {
|
|
|
321
321
|
async lazyLoad (node, resolve) {
|
|
322
322
|
const { level ,data:res } = node;
|
|
323
323
|
if(level === 0) {
|
|
324
|
-
const {data} = await _this.$axios.post(path + childPath,this.lazyLoadParams);
|
|
324
|
+
const {data} = await _this.$axios.post(path + childPath,config.params || this.lazyLoadParams);
|
|
325
325
|
resolve(data.map(item => ({
|
|
326
326
|
label:item.name,
|
|
327
327
|
leaf:item.path === '-' || !item.path,
|
|
@@ -335,7 +335,7 @@ export default {
|
|
|
335
335
|
resolve();
|
|
336
336
|
return;
|
|
337
337
|
}
|
|
338
|
-
const {data} = await _this.$axios.post(path + res.path,this.lazyLoadParams);
|
|
338
|
+
const {data} = await _this.$axios.post(path + res.path,config.params || this.lazyLoadParams);
|
|
339
339
|
resolve(data.map(item => ({
|
|
340
340
|
label:item.name,
|
|
341
341
|
leaf:item.path === '-' || !item.path,
|