UNPKG

@meleon/uni-ui

Version:

A uniapp components library written in vue3 and typescript

1 lines 163 B
import Store from"./index";export const createStore=(e,t)=>{const r=new Store;return e?(t||(t={}),r.$table=e,Object.keys(t).forEach((e=>{r.states[e]=t[e]})),r):r};