优化代码
This commit is contained in:
@@ -44,7 +44,7 @@ watch(refname, async (newQuestion, oldQuestion) => {
|
||||
onMounted(() => {
|
||||
getNoticeList({page: 0, size: 10}).then((res) => {
|
||||
NoticeList.value = res;
|
||||
});
|
||||
}).catch((err) => {});
|
||||
});
|
||||
onUpdated(() => {
|
||||
// 组件更新后执行
|
||||
|
||||
Reference in New Issue
Block a user