mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
fix:mitt完成公告同步
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import { getTask } from "../../api/indexTaskadd";
|
||||
import { noticeList } from "../../api/indexNotice";
|
||||
import emitter from "../../utils/bus";
|
||||
// import { toDate } from "../../api/method";
|
||||
export default {
|
||||
name: "NoticeHis",
|
||||
@@ -47,6 +48,11 @@ export default {
|
||||
//下一步是把公告赋值给state.notice
|
||||
});
|
||||
};
|
||||
//获取公告历史
|
||||
emitter.on("setNotice", (data) => {
|
||||
console.log("setNotice", data);
|
||||
getNotice();
|
||||
});
|
||||
const setNoticeData = (tableData) => {
|
||||
let data = tableData;
|
||||
let array = [];
|
||||
|
||||
Reference in New Issue
Block a user