mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 07:16:46 +08:00
fix:mitt完成公告同步
This commit is contained in:
@@ -30,6 +30,7 @@ import { reactive, toRefs, onMounted } from "vue";
|
||||
import { getTask } from "../../api/indexTaskadd";
|
||||
// import { editProj } from "../../api/indexTaskadd";
|
||||
import { publishNotice } from "../../api/indexNotice";
|
||||
import emitter from "../../utils/bus";
|
||||
export default {
|
||||
name: "NoticePub",
|
||||
props: {
|
||||
@@ -68,6 +69,7 @@ export default {
|
||||
message.destroy();
|
||||
message.success("发布成功", res);
|
||||
state.noticeContent = "";
|
||||
emitter.emit("setNotice", false);
|
||||
})
|
||||
.catch((err) => {
|
||||
message.destroy();
|
||||
|
||||
Reference in New Issue
Block a user