qlfy-postmate 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -73,7 +73,7 @@ new ChildPostmate({
73
73
  // 数据更新 -- 是否隐藏页头
74
74
  $store.setIsHideHeader(dataInfo.data.isHideHeader);
75
75
  // 数据更新 -- token
76
- $store.setIsHideHeader(dataInfo.data.token);
76
+ $store.setToken(dataInfo.data.token);
77
77
  // 数据更新 -- 登陆信息
78
78
  $store.setLoginInfo(dataInfo.data.loginInfo);
79
79
  // 项目挂载,仅首次加载项目时执行,后续receive触发不执行
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlfy-postmate",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "lib/index.umd.js",