|
@@ -147,6 +147,7 @@ import {
|
|
|
imGroupNoticeRemove,
|
|
|
} from "../../../../api";
|
|
|
import Slider from "../../../components/sliderTUI/index.vue";
|
|
|
+import TUIMessage from "../../../components/messageTUI/index";
|
|
|
const ManageNotification = defineComponent({
|
|
|
components: {
|
|
|
Slider,
|
|
@@ -242,8 +243,13 @@ const ManageNotification = defineComponent({
|
|
|
data.id = "";
|
|
|
ctx.emit("changeStatus", "addDetail");
|
|
|
}
|
|
|
- } catch (e) {
|
|
|
+ } catch(e) {
|
|
|
//
|
|
|
+ TUIMessage({
|
|
|
+ message: e.message,
|
|
|
+ isH5: false,
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
}
|
|
|
popoverRef.value?.setShow(false);
|
|
|
};
|
|
@@ -276,8 +282,13 @@ const ManageNotification = defineComponent({
|
|
|
data.page = 1;
|
|
|
data.groupDetail = [];
|
|
|
getNotification();
|
|
|
- } catch {
|
|
|
+ } catch(e) {
|
|
|
//
|
|
|
+ TUIMessage({
|
|
|
+ message: e.message,
|
|
|
+ isH5: false,
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
}
|
|
|
};
|
|
|
|