bug 标准预警

This commit is contained in:
赵霄
2023-11-29 15:36:44 +08:00
parent b0013fc842
commit 35aea9de91
2 changed files with 7 additions and 6 deletions
+4 -3
View File
@@ -38,12 +38,13 @@ export default {
watch: {
value: {
handler () {
if (this.value) {
if (typeof this.value !== 'string' && this.value) {
this.treeValue = JSON.parse(JSON.stringify(this.value))
} else {
this.treeValue = this.value
}
},
immediate: true,
deep: true
immediate: true
}
},
data () {
@@ -55,7 +55,7 @@
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
v-model="queryParam.date"
:disabled="false"/>
:disabled="false" />
</a-form-model-item>
</template>
@@ -82,7 +82,7 @@
:columns="columns"
:dataSource="dataSource"
:can-drag="true"
:rowKey="(index) => {return index}"
:rowKey="(record, index) => {return index}"
:pagination="ipagination"
:scroll="{x: '100%'}"
:loading="loading"
@@ -292,7 +292,7 @@ export default {
delete param.date
}
return filterObj(param)
},
}
}
}
</script>