matrix_components 2.0.350 → 2.0.352

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.
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
  组件使用示例参考dist/ComponentDemo
3
3
 
4
4
  ```
5
- version:2.0.331
6
- 2025-11-24
5
+ version:2.0.352
6
+ 2025-11-28
7
7
  更新日志:
8
8
  1.修改NsImage组件bug
9
9
  ```
@@ -494,8 +494,8 @@ app.use(NsComponents)
494
494
  // 【可选】401无权显示回调
495
495
  app.config.globalProperties.$LogoutCallback = logoutHandler // 无权显示回调
496
496
  // 【可选】请求添加的token头的key,默认为satoken。token的key和value需要在外部项目中自己设置
497
- app.config.globalProperties.$TokenName = "tokenName"
498
- app.config.globalProperties.$TonkenValue = "xxxx";
497
+ sessionStorage.setItem('tokenName', 'xxx')
498
+ sessionStorage.setItem('tokenValue', 'yyy')
499
499
 
500
500
  // 2. xx.vue / xx.ts 调用获取get、post请求
501
501
  import { get, post } from 'matrix_components'