tianheng-ui 0.1.2 → 0.1.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tianheng-ui",
3
3
  "description": "A Vue.js project",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -100,7 +100,7 @@ export default {
100
100
  for (const item of searchOptions) {
101
101
  for (let i = 0; i < this.fields.length; i++) {
102
102
  const element = this.fields[i];
103
- if (element.alias === item.prop) {
103
+ if (element.prop === item.prop) {
104
104
  searchFields.push(item);
105
105
  searchFieldsIndexs.push(i);
106
106
  }
@@ -123,7 +123,7 @@ export default {
123
123
  for (const item of tableOptions) {
124
124
  for (let i = 0; i < this.fields.length; i++) {
125
125
  const element = this.fields[i];
126
- if (element.alias === item.prop) {
126
+ if (element.prop === item.prop) {
127
127
  tableFields.push(item);
128
128
  tableFieldsIndexs.push(i);
129
129
  }