review:【antd】【mp】material、message 的迁移 v1

This commit is contained in:
YunaiV
2025-11-13 13:57:17 +08:00
parent b3c1dff37d
commit 80bb508e78
26 changed files with 90 additions and 55 deletions

View File

@@ -30,7 +30,6 @@ const loading = ref(false);
const total = ref(0); // 数据的总页数
const list = ref<any[]>([]); // 当前页的列表数据
// 搜索参数
const queryParams = reactive<{
accountId: number;
createTime: [Dayjs, Dayjs] | undefined;
@@ -45,7 +44,7 @@ const queryParams = reactive<{
pageNo: 1,
pageSize: 10,
type: MsgType.Text,
});
}); // 搜索参数
const queryFormRef = ref(); // 搜索的表单
@@ -53,7 +52,7 @@ const queryFormRef = ref(); // 搜索的表单
const messageBoxVisible = ref(false);
const messageBoxUserId = ref(0);
/** 侦听accountId */
/** 侦听 accountId */
function onAccountChanged(id: number) {
queryParams.accountId = id;
queryParams.pageNo = 1;