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