@leevan/jtui 2.0.27 → 2.0.29

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.27",
3
+ "version": "2.0.29",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1051,7 +1051,7 @@ export default {
1051
1051
  }
1052
1052
  },
1053
1053
  objectTxt(cellValue){
1054
- return typeof cellValue == 'object' && cellValue !=null ? JSON.stringify(cellValue) : cellValue
1054
+ return typeof cellValue == 'object' && cellValue !=null ? JSON.stringify(cellValue) : cellValue === undefined ? '' : cellValue
1055
1055
  },
1056
1056
  //枚举转换
1057
1057
  formatEnum({ column, cellValue }) {
@@ -1312,9 +1312,15 @@ export default {
1312
1312
  },
1313
1313
  //导出数据
1314
1314
  exportTableData() {
1315
+ if(this.$listeners.scrollBottom){
1316
+ this.$message.info('表格仅能导出已查询的数据,想要导出更多请继续滚动加载')
1317
+ }
1315
1318
  this.$refs[this.id].openExport({ isPrint: false });
1316
1319
  },
1317
1320
  exportData(obj){
1321
+ if(this.$listeners.scrollBottom){
1322
+ this.$message.info('表格仅能导出已查询的数据,想要导出更多请继续滚动加载')
1323
+ }
1318
1324
  this.$refs[this.id].exportData(obj);
1319
1325
  },
1320
1326
  //导入数据
@@ -1331,7 +1337,7 @@ export default {
1331
1337
  //刷新
1332
1338
  if(value.indexOf("reflash") !== -1){
1333
1339
  this.reloadTreeChilds(row);
1334
- };
1340
+ }
1335
1341
  this.$emit("handlerClick", value, row, rowIndex);
1336
1342
  },
1337
1343
  //普通表格转树表(仅支持一层)