fix: bug#10879
This commit is contained in:
parent
ba326d6532
commit
042d07f61f
|
|
@ -58,8 +58,12 @@ const typeList = [
|
||||||
|
|
||||||
const select = (s: string) => {
|
const select = (s: string) => {
|
||||||
selectorModel.value = s
|
selectorModel.value = s
|
||||||
|
devices.value = []
|
||||||
|
orgIds.value = []
|
||||||
emit('update:selector', s)
|
emit('update:selector', s)
|
||||||
emit('update:selectorValues', [])
|
emit('update:selectorValues', [])
|
||||||
|
emit('update:deviceKeys', [])
|
||||||
|
emit('update:orgId', [])
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateDevice = (d: any[]) => {
|
const updateDevice = (d: any[]) => {
|
||||||
|
|
@ -69,7 +73,6 @@ const updateDevice = (d: any[]) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateOrg = (d: any[]) => {
|
const updateOrg = (d: any[]) => {
|
||||||
console.log('updateOrg', d)
|
|
||||||
orgIds.value = d
|
orgIds.value = d
|
||||||
emit('update:orgId', d)
|
emit('update:orgId', d)
|
||||||
emit('update:selectorValues', d)
|
emit('update:selectorValues', d)
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,9 @@
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:request="query"
|
:request="query"
|
||||||
:scroll="{
|
:scroll="{
|
||||||
y: 350
|
y: 200
|
||||||
}"
|
}"
|
||||||
|
:bodyStyle='{ padding: "16px 0 0 0"}'
|
||||||
:expandable='{
|
:expandable='{
|
||||||
expandedRowKeys: openKeys,
|
expandedRowKeys: openKeys,
|
||||||
onExpandedRowsChange: expandedRowChange,
|
onExpandedRowsChange: expandedRowChange,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue