mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-01-03 03:45:28 +08:00
JeecgBoot 2.3 里程碑版本发布,支持微服务和单体自由切换、提供新行编辑表格JVXETable
This commit is contained in:
25
ant-design-vue-jeecg/src/store/modules/online.js
Normal file
25
ant-design-vue-jeecg/src/store/modules/online.js
Normal file
@ -0,0 +1,25 @@
|
||||
import Vue from 'vue'
|
||||
import { ONL_AUTH_FIELDS } from "@/store/mutation-types"
|
||||
import { getAction } from '@/api/manage'
|
||||
|
||||
|
||||
const online = {
|
||||
state: {
|
||||
//存储对象属性 value,text
|
||||
authFields: [],
|
||||
},
|
||||
mutations: {
|
||||
SET_AUTHFIELDS: (state, fields) => {
|
||||
console.log('fields',fields)
|
||||
Vue.set(state, 'authFields', fields)
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
// TODO 如果没找到可以尝试请求一下
|
||||
xxxxxx({ commit }, userInfo) {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export default online
|
||||
Reference in New Issue
Block a user