matrix_components 2.0.412 → 2.0.414

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,6 +1,13 @@
1
1
  # **组件库2.0**
2
2
  组件使用示例参考dist/ComponentDemo
3
3
 
4
+ ```
5
+ version:2.0.414
6
+ 2025-12-26
7
+ 更新日志:
8
+ 1.NsForm使用el-cascader时,在readOnly只读模式时,传入最后一级字符串值能显示完整路径
9
+ ```
10
+
4
11
  ```
5
12
  version:2.0.404
6
13
  2025-12-19
@@ -102,7 +102,7 @@ import { ElMessage } from 'element-plus'
102
102
  const props = defineProps({
103
103
  readOnly: {
104
104
  type: Boolean,
105
- default: false,
105
+ default: true,
106
106
  },
107
107
  row: {
108
108
  type: Object,
@@ -361,6 +361,7 @@ const state = reactive({
361
361
  value: ['beijing', 'chaoyang'],
362
362
  component: 'ElCascader',
363
363
  params: {
364
+ showAllLevels: false,
364
365
  rules: [
365
366
  {
366
367
  required: true,
@@ -369,6 +370,7 @@ const state = reactive({
369
370
  },
370
371
  ],
371
372
  props: {
373
+ multiple: true,
372
374
  showPrefix: false,
373
375
  checkStrictly: true,
374
376
  checkOnClickNode: true,
@@ -562,7 +564,7 @@ async function getDetail() {
562
564
  pre_buffer_second: '5',
563
565
  det_area_mode: 'abnormal',
564
566
  det_area_json: '6',
565
- region: ['beijing', 'haidian'],
567
+ region: 'haidian,pudong', //['beijing', 'haidian'],
566
568
  department: ['company', 'tech', 'frontend'],
567
569
  single_level_cascader: 'shanghai',
568
570
  }