大空间消毒机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
670 B

import { defineStore } from 'pinia'
export const useAuditStore = defineStore({
id: 'audit', // id必填,且需要唯一
// state
state: () => {
return {
auditInfoList: [],
totalPage: 0,
total: 0,
page: 1,
auditLoading: false,
}
},
// actions
actions: {
updateAuditLoading(auditLoading) {
this.auditLoading = auditLoading
},
updateTotalPage(totalPage) {
this.totalPage = totalPage
},
updateTotal(total) {
this.total = total
},
updatePage(page) {
this.page = page + 1
},
updateAuditList(auditInfoList) {
this.auditInfoList = auditInfoList
},
},
})