1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

delete the function of visitByMyself and optimize the loading of noticeReceiveBySelf

This commit is contained in:
cccccyb
2023-05-30 03:09:15 +08:00
parent 1cec2e191d
commit 3af559c5e4
8 changed files with 25 additions and 25 deletions

View File

@@ -76,6 +76,7 @@ export const useNoticeStore = defineStore('notice', {
}
],
loading: true,
showLoading: true,
dialogShowVisible: false,
dialogAddVisible: false,
dialogEditVisible: false,
@@ -143,11 +144,9 @@ export const useNoticeStore = defineStore('notice', {
.then((response) => {
if (response.data.code === 20021) {
this.selectData = response.data.data
if (this.selectData.length !== 0) {
this.loading = false
}
this.showLoading = false
} else {
this.loading = false
this.showLoading = false
ElMessage({
message: response.data.msg,
type: 'error'