新增邮件发送和管理员功能
This commit is contained in:
12
mail-vue/src/store/role.js
Normal file
12
mail-vue/src/store/role.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useRoleStore = defineStore('role', {
|
||||
state: () => ({
|
||||
refresh: 0,
|
||||
}),
|
||||
actions: {
|
||||
refreshSelect() {
|
||||
this.refresh ++
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user