bri-components 1.3.46 → 1.3.47

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": "bri-components",
3
- "version": "1.3.46",
3
+ "version": "1.3.47",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -77,6 +77,10 @@
77
77
  <!-- 编辑和查看 列表 -->
78
78
  <slot name="list">
79
79
  <upload-list
80
+ :class="{
81
+ ...commonClass,
82
+ 'bri-control-edit': false
83
+ }"
80
84
  :showMode="showMode"
81
85
  :canEdit="finalCanEdit"
82
86
  :files="curValList"
@@ -52,6 +52,7 @@
52
52
  <div
53
53
  v-else
54
54
  :class="{
55
+ ...commonClass,
55
56
  'DshEditor-show': true,
56
57
  'DshEditor-show-nodata': $isEmptyData(curVal)
57
58
  }"
@@ -130,7 +130,7 @@ export default {
130
130
  },
131
131
  // 是否为tag显示
132
132
  tagShow () {
133
- return ["users", "departments", "select", "checkbox", "regions", "cascaders"].includes(this.controlType);
133
+ return ["users", "departments", "select", "checkbox", "regions", "cascaders", "switch"].includes(this.controlType);
134
134
  },
135
135
  commonDealPropsObj () {
136
136
  const selectControlTypes = ["date", "switch", "select", "checkbox", "file", "region", "regions", "cascader", "cascaders", "coordinates", "users", "departments"];