Merge branch 'main' into dev

This commit is contained in:
wangyifeng 2025-06-06 18:54:59 +08:00
commit b282562cdd
2 changed files with 9 additions and 2 deletions

View File

@ -191,7 +191,7 @@ const handleGroupNoticeModalConfirm = () => {
state.isShowNoticeHintModal = true state.isShowNoticeHintModal = true
if (state?.groupNoticeInfo?.id && !state.groupNoticeInEdit) { if (state?.groupNoticeInfo?.id && !state.groupNoticeInEdit) {
// //
state.noticeHintModalContent = '确定清空群公告吗?' state.noticeHintModalContent = '确定清空群公告'
state.noticeHintModalActionBtns = { state.noticeHintModalActionBtns = {
confirmBtn: { confirmBtn: {
text: '清空', text: '清空',
@ -596,7 +596,7 @@ const hideSearchResultModal = () => {
<n-input <n-input
type="text" type="text"
v-model:value="state.searchRecordByConditionText" v-model:value="state.searchRecordByConditionText"
placeholder="请输入" :placeholder="state.conditionTag && state.conditionTag !== 'all'?'':'请输入'"
clearable clearable
> >
<template #clear-icon> <template #clear-icon>

View File

@ -448,6 +448,11 @@ onMounted(() => {
const showAddressBookModal = () => { const showAddressBookModal = () => {
state.isShowAddressBookModal = true state.isShowAddressBookModal = true
} }
//
const closeAddressBookModal = () => {
state.isShowAddressBookModal = false
resetAddressBookModal()
}
const handleTreeClick = ({ selectedKey, tree }) => { const handleTreeClick = ({ selectedKey, tree }) => {
// console.log(tree) // console.log(tree)
state.clickKey = tree.key state.clickKey = tree.key
@ -840,6 +845,8 @@ const handleEnterSearchResultChat = () => {
:style="state.customModalStyle" :style="state.customModalStyle"
:customCloseBtn="true" :customCloseBtn="true"
:closable="false" :closable="false"
:customCloseEvent="true"
@customCloseModal="closeAddressBookModal"
> >
<template #content> <template #content>
<div class="custom-modal-content"> <div class="custom-modal-content">