@jx3box/jx3box-common-ui 9.5.13 → 9.5.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "9.5.13",
3
+ "version": "9.5.14",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -256,7 +256,7 @@ export default {
256
256
 
257
257
  User.isLogin() && getUserPermission().then(res => {
258
258
  const permissions = res.data.data.permission?.map(item => item.action)
259
- this.hasPermission = permissions.includes(`manage_boxcoin_${this.postType}`) || User.isSuperAdmin();
259
+ this.hasPermission = permissions.includes(`manage_boxcoin_${this.postType}`);
260
260
  })
261
261
  },
262
262
  // 用户打赏