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 +9 -0
- package/dist/ComponentDemo/FormDemo.vue +7 -2
- package/dist/ComponentDemo/SaturationLineDemo.vue +489 -174
- package/dist/matrix_components.css +1 -1
- package/dist/matrix_components.js +164 -56
- package/dist/matrix_components.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/ComponentDemo/FormDemo copy 2.vue +0 -557
- package/dist/ComponentDemo/FormDemo copy.vue +0 -454
package/README.md
CHANGED
|
@@ -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
|
-
|
|
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
|