matrix_components 2.0.376 → 2.0.378

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/README.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # **组件库2.0**
2
2
  组件使用示例参考dist/ComponentDemo
3
+
4
+ ```
5
+ version:2.0.377
6
+ 2025-12-06
7
+ 更新日志:
8
+ 1.优化浸润线的测压管排序
9
+ 2.新增浸润线fullData全量数据并兼容老传值方案
10
+ ```
11
+
3
12
  ```
4
13
  version:2.0.365
5
14
  2025-12-01
@@ -59,7 +59,7 @@
59
59
 
60
60
  <script setup lang="ts">
61
61
  import { ElInput, ElMessage, ElRadioGroup } from 'element-plus'
62
- import { onMounted, reactive, ref } from 'vue'
62
+ import { h, onMounted, reactive, ref } from 'vue'
63
63
  import { cloneDeep } from 'lodash-es'
64
64
  import { nextTick } from 'vue'
65
65
 
@@ -276,7 +276,8 @@
276
276
  key: 'det_area_json',
277
277
  label: '感兴趣区域',
278
278
  value: '',
279
- component: ElInput,
279
+ readOnlyUseComponent: true,
280
+ component: CustomUIs,
280
281
  span: 6,
281
282
  events: {
282
283
  change: (value) => getAreasHandler(value),
@@ -297,6 +298,10 @@
297
298
  state.rows3.pop()
298
299
  }
299
300
  }
301
+
302
+ function CustomUIs() {
303
+ return h('div', {style:'color: red', class:"xx"}, 'xxx')
304
+ }
300
305
 
301
306
  function getAreasHandler(value: any) {
302
307
  state.rows3[state.rows3.length - 1][0].value = value