fix column changed value (fieldtype)
This commit is contained in:
@@ -254,7 +254,7 @@ export default defineComponent({
|
||||
// console.log('crea', isFieldDb(), 'props.mycol', props.mycol)
|
||||
|
||||
if (props.mycol && props.mycol.name && props.mycol.name !== 'test') {
|
||||
col.value = props.mycol
|
||||
col.value = {...props.mycol}
|
||||
} else {
|
||||
if (col.value.name === 'test') {
|
||||
col.value.name = props.field
|
||||
|
||||
@@ -119,6 +119,12 @@
|
||||
:label="myvalue"
|
||||
>
|
||||
</q-btn>
|
||||
<div v-else>
|
||||
<span
|
||||
:class="{ disabled: disable }"
|
||||
v-html="visuValByType(myvalue, col, row)"
|
||||
></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user