xianniu-ui 0.4.4 → 0.4.5

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": "xianniu-ui",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "core-js": "^3.6.5",
25
- "vue": "2.6.11",
25
+ "vue": "^2.7.14",
26
26
  "vue-lottie": "^0.2.1",
27
27
  "vue-router": "^3.2.0",
28
28
  "vuex": "^3.6.2"
@@ -42,7 +42,7 @@
42
42
  "copy-webpack-plugin": "^5.1.2",
43
43
  "cp-cli": "^2.0.0",
44
44
  "cross-env": "^7.0.3",
45
- "element-ui": "^2.15.10",
45
+ "element-ui": "^2.15.13",
46
46
  "eslint": "^6.7.2",
47
47
  "eslint-plugin-vue": "^6.2.2",
48
48
  "highlight.js": "^9.3.0",
@@ -56,6 +56,6 @@
56
56
  "sass": "^1.32.6",
57
57
  "sass-loader": "^8.0.2",
58
58
  "transliteration": "^1.1.11",
59
- "vue-template-compiler": "2.6.11"
59
+ "vue-template-compiler": "^2.7.14"
60
60
  }
61
61
  }
@@ -121,13 +121,12 @@
121
121
  type="index"
122
122
  ></el-table-column>
123
123
  <slot>
124
- <template v-for="(item, idx) in columns">
125
- <column
126
- :key="idx"
127
- v-if="item.checked === true"
128
- v-bind="item"
129
- ></column>
130
- </template>
124
+ <column
125
+ v-for="(item, idx) in columns"
126
+ :key="idx"
127
+ v-show="item.checked === true"
128
+ v-bind="item"
129
+ ></column>
131
130
  </slot>
132
131
  <template #append v-if="$slots.append">
133
132
  <slot name="append"></slot>