Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能支持全局数据管理吗 #3

Open
adodoa1 opened this issue Nov 3, 2020 · 2 comments
Open

能支持全局数据管理吗 #3

adodoa1 opened this issue Nov 3, 2020 · 2 comments

Comments

@adodoa1
Copy link

adodoa1 commented Nov 3, 2020

类似于vue的event bus,不需要那么复杂的功能,只要能保存并获取全部数据就行

@cpagejs
Copy link
Owner

cpagejs commented Nov 10, 2020

支持简单的数据管理。

import { Store } from 'cpage';

// 存储数据
Store.data('id', 10);

// 获取数据
Store.get('id');

@adfgcc
Copy link

adfgcc commented Sep 8, 2022

okok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants