@leevan/jtui 2.0.31 → 2.0.32-n

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leevan/jtui",
3
- "version": "2.0.31",
3
+ "version": "2.0.32n",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -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,