UNPKG
yinghe-lowcode-zln
Version:
latest (3.4.46)
3.4.46
3.4.45
基于vue、ant-design-vue,datagrid的低代码平台
yinghe-lowcode-zln
/
src
/
store
/
modules
/
gen.js
18 lines
(17 loc)
•
286 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import
Vue
from
"vue"
;
const
gen = {
state
: {
publicKey
:
""
, },
mutations
: {
SET_PUBLIC_KEY
:
(
state, key
) =>
{ state.
publicKey
= key; }, },
actions
: {
setPublicKey
(
{ commit }, key
) {
commit
(
"SET_PUBLIC_KEY"
, key); }, }, };
export
default
gen