This commit is contained in:
左哥 2025-11-09 10:39:11 +08:00
parent 4f946d964d
commit 2e8651d7a1
2 changed files with 4 additions and 7 deletions

View File

@ -52,6 +52,7 @@ const props = defineProps({
const centent = ref('')
const emits = defineEmits(["update:modelValue", 'load', 'input', 'change'])
const load = () => {
return
emits('load')
}

View File

@ -61,11 +61,7 @@ const appInfoStore = appDetail()
const route = useRoute()
//
const userList = ref([
{ user_id: 'u1', user_name: '张三', user_avatar: '' },
{ user_id: 'u2', user_name: '李四', user_avatar: '' },
{ user_id: 'u3', user_name: '王五', user_avatar: '' },
])
const userList = ref([])
const activeUser = ref({})
const messages = ref([])
@ -711,14 +707,14 @@ const onEmojiSelect = (emoji) => {
//
const params = reactive({
page: 1,
page_size: 20,
page_size: 2000,
app_id: route.query.app_id
})
const getUsers = (append = false) => {
getUserList(params).then((res) => {
if (append) {
userList.value = userList.value.concat(res.list || [])
userList.value = res.list // userList.value.concat(res.list || [])
} else {
userList.value = res.list || []
}