bri-components 1.2.74 → 1.2.75

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.2.74",
3
+ "version": "1.2.75",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -48,17 +48,6 @@
48
48
  },
49
49
  themeColorMap () {
50
50
  return this.$appData.themeColors || {};
51
- },
52
-
53
- // 值为不是[]类型用的
54
- curVal: {
55
- get () {
56
- return this.value[this.controlKey];
57
- },
58
- set (val) {
59
- this.value[this.controlKey] = val;
60
- this.change();
61
- }
62
51
  }
63
52
  },
64
53
  created () {
@@ -59,17 +59,6 @@
59
59
  },
60
60
  bgColor () {
61
61
  return (this.themeColorMap[this.value[this.relateColorkey]] || {}).bgColor;
62
- },
63
-
64
- // 值为不是[]类型用的
65
- curVal: {
66
- get () {
67
- return this.value[this.controlKey];
68
- },
69
- set (val) {
70
- this.value[this.controlKey] = val;
71
- this.change();
72
- }
73
62
  }
74
63
  },
75
64
  created () {
@@ -163,9 +163,13 @@ export default {
163
163
  // isShare () {
164
164
  // return !!this.propsObj.isShare;
165
165
  // },
166
- // 单元格状态
166
+ // 在单元格内
167
167
  isInTable () {
168
- return !!this.propsObj.isInTable;
168
+ return !!this.propsObj.inTable;
169
+ },
170
+ // 单条关联内 使用详情模式的
171
+ isInRefDetail () {
172
+ return !!this.propsObj.inRefDetail;
169
173
  },
170
174
  // 高级搜索状态
171
175
  isOnSearch () {
@@ -121,9 +121,9 @@
121
121
  </bri-tooltip>
122
122
 
123
123
  <Tooltip
124
- v-if="colItem._comment"
124
+ v-if="colItem._description"
125
125
  style="width:16px"
126
- :content="colItem._comment"
126
+ :content="colItem._description"
127
127
  placement="top-start"
128
128
  max-width="200"
129
129
  :transfer="true"
@@ -21,7 +21,7 @@
21
21
  :propsObj="{
22
22
  ...formItem,
23
23
  size: 'default',
24
- isInTable: true
24
+ inTable: true
25
25
  }"
26
26
  :rowIndex="rowIndex"
27
27
  :parentData="parentData"