232
This commit is contained in:
@@ -131,10 +131,8 @@ const ChangeChat = async (typeid: string): Promise<void> => {
|
||||
|
||||
//删除记录
|
||||
const DelChat = async (data: any) => {
|
||||
MessageExtend.ShowConfirmDialogAsyc("频道管理", `您确定要删除该发言吗?`, async () => {
|
||||
MessageExtend.LoadingToast("删除中...");
|
||||
let result = await ChatService.DeleteChat(data.chatId);
|
||||
MessageExtend.LoadingClose();
|
||||
MessageExtend.ShowConfirmDialogAsyc("频道管理", `您确定要删除该发言吗?`, async () => {
|
||||
let result = await ChatService.DeleteChat(data.chatId);
|
||||
if (result.code == 0) {
|
||||
await BindData();
|
||||
MessageExtend.Notify("删除成功!", "success");
|
||||
|
||||
Reference in New Issue
Block a user