element-ui-root 1.5.2 → 1.5.3

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.
@@ -133589,11 +133589,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
133589
133589
  "label": this.label ? this.config[a].type && this.config[a].type == 'checkbox' ? '' : this.config[a].text || this.config[a].label || this.config[a].title : '',
133590
133590
  "rules": this.config[a]['rule'] ? this.config[a]['rule'] : this.config[a]['must'] ? [{
133591
133591
  required: true,
133592
- trigger: 'change',
133592
+ trigger: 'blur',
133593
133593
  message: `${this.config[a]['text']}不能为空`
133594
133594
  }] : this.must ? [{
133595
133595
  required: true,
133596
- trigger: 'change',
133596
+ trigger: 'blur',
133597
133597
  message: `${this.config[a]['text']}不能为空`
133598
133598
  }] : {}
133599
133599
  },
@@ -135968,12 +135968,12 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
135968
135968
  },
135969
135969
 
135970
135970
  created() {
135971
- this.search();
135972
135971
  this.create();
135973
135972
  },
135974
135973
 
135975
135974
  mounted() {
135976
135975
  this.$refs['a-table'].bodyWrapper.addEventListener('wheel', this.scroll);
135976
+ this.$nextTick(() => this.search());
135977
135977
  },
135978
135978
 
135979
135979
  methods: {
@@ -159521,8 +159521,8 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
159521
159521
  keys: selectedKeys,
159522
159522
  rows: selectedRows
159523
159523
  };
159524
- const statistics = selectedKeys.length > 1 ? `已选中的${selectedKeys.length}` : '此';
159525
- this.$confirm(`是否确定要删除${statistics}条数据记录?`, '提示信息', {
159524
+ const statistics = selectedKeys.length > 1 ? `已选中的${selectedKeys.length}条` : '此';
159525
+ this.$confirm(`是否确定要删除${statistics}数据记录?`, '提示信息', {
159526
159526
  confirmButtonText: '确定',
159527
159527
  cancelButtonText: '取消',
159528
159528
  type: 'warning'
package/dist/index.umd.js CHANGED
@@ -133598,11 +133598,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
133598
133598
  "label": this.label ? this.config[a].type && this.config[a].type == 'checkbox' ? '' : this.config[a].text || this.config[a].label || this.config[a].title : '',
133599
133599
  "rules": this.config[a]['rule'] ? this.config[a]['rule'] : this.config[a]['must'] ? [{
133600
133600
  required: true,
133601
- trigger: 'change',
133601
+ trigger: 'blur',
133602
133602
  message: `${this.config[a]['text']}不能为空`
133603
133603
  }] : this.must ? [{
133604
133604
  required: true,
133605
- trigger: 'change',
133605
+ trigger: 'blur',
133606
133606
  message: `${this.config[a]['text']}不能为空`
133607
133607
  }] : {}
133608
133608
  },
@@ -135977,12 +135977,12 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
135977
135977
  },
135978
135978
 
135979
135979
  created() {
135980
- this.search();
135981
135980
  this.create();
135982
135981
  },
135983
135982
 
135984
135983
  mounted() {
135985
135984
  this.$refs['a-table'].bodyWrapper.addEventListener('wheel', this.scroll);
135985
+ this.$nextTick(() => this.search());
135986
135986
  },
135987
135987
 
135988
135988
  methods: {
@@ -159530,8 +159530,8 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
159530
159530
  keys: selectedKeys,
159531
159531
  rows: selectedRows
159532
159532
  };
159533
- const statistics = selectedKeys.length > 1 ? `已选中的${selectedKeys.length}` : '此';
159534
- this.$confirm(`是否确定要删除${statistics}条数据记录?`, '提示信息', {
159533
+ const statistics = selectedKeys.length > 1 ? `已选中的${selectedKeys.length}条` : '此';
159534
+ this.$confirm(`是否确定要删除${statistics}数据记录?`, '提示信息', {
159535
159535
  confirmButtonText: '确定',
159536
159536
  cancelButtonText: '取消',
159537
159537
  type: 'warning'