|
@@ -1,4 +1,4 @@
|
|
|
-import { computed, getCurrentInstance, ref } from 'vue'
|
|
|
+import { computed, getCurrentInstance, nextTick, ref } from 'vue'
|
|
|
import { useMonitorModel, useMonitorTipDialog } from './base'
|
|
|
import { useStore } from '@/store'
|
|
|
import {
|
|
@@ -182,8 +182,10 @@ function useEntQuickMonitorModel({ type, id, source }, options) {
|
|
|
}
|
|
|
})
|
|
|
echoGroup.value = followedGroupId.toString()
|
|
|
- doOpenDialog('monitor-change-group', {
|
|
|
- groupList: res.data?.groupUserArr || []
|
|
|
+ nextTick(() => {
|
|
|
+ doOpenDialog('monitor-change-group', {
|
|
|
+ groupList: res.data?.groupUserArr || []
|
|
|
+ })
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -234,7 +236,9 @@ function useEntQuickMonitorModel({ type, id, source }, options) {
|
|
|
await doFetchGroup({ type: 'get' })
|
|
|
.then((res) => {
|
|
|
if (res.success) {
|
|
|
- doOpenDialog('monitor-group', { groupList: res.data })
|
|
|
+ nextTick(() => {
|
|
|
+ doOpenDialog('monitor-group', { groupList: res.data })
|
|
|
+ })
|
|
|
}
|
|
|
else {
|
|
|
if (res.data?.limit_count) {
|