mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
面授 审核
This commit is contained in:
@@ -62,12 +62,17 @@ export default {
|
||||
state.notice = array;
|
||||
};
|
||||
const getNotice = () => {
|
||||
noticeList(props.projectId)
|
||||
let obj = {
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
projectId: props.projectId,
|
||||
};
|
||||
noticeList(obj)
|
||||
.then((res) => {
|
||||
console.log("获取公告列表成功");
|
||||
let result = res.data.data;
|
||||
if (result.length > 0) {
|
||||
setNoticeData(result);
|
||||
if (result.total > 0) {
|
||||
setNoticeData(result.rows);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user