@pubinfo/module-rbac 2.0.3 → 2.0.4

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/dist/index.js CHANGED
@@ -82,8 +82,8 @@ import './index.css';var We = {
82
82
  "src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-HFHrLVgt.js"),
83
83
  "src/views/tenant/index.vue": () => import("./tenant-C8kVbfgt.js"),
84
84
  "src/views/theme_setting/index.vue": () => import("./theme_setting-QgpSGXxq.js"),
85
- "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-Dc_h2Mfe.js"),
86
85
  "src/views/user/index.vue": () => import("./user-Dub4HhCZ.js"),
86
+ "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-Dc_h2Mfe.js"),
87
87
  "src/views/watermark_setting/index.vue": () => import("./watermark_setting-BcWy6p2_.js"),
88
88
  "src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-C3xS7Kxx.js"),
89
89
  "src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-CAaxueTy.js"),
@@ -230,10 +230,7 @@ function Ke() {
230
230
  function n() {
231
231
  if (!t) try {
232
232
  let n = globalThis.__PUBINFO_WEBSOCKET__;
233
- if (!n) {
234
- console.warn("WebSocket 连接不可用");
235
- return;
236
- }
233
+ if (!n) return;
237
234
  e.setWebSocketConnected(!0), n.on("pubinfo-resolver:update", (t) => {
238
235
  let n = {
239
236
  type: "custom",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/module-rbac",
3
3
  "type": "module",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@pubinfo/pro-components": "^1.7.3",
25
25
  "alova": "^3.3.4",
26
26
  "ant-design-vue": "^4.2.6",
27
- "pubinfo": "2.0.3"
27
+ "pubinfo": "2.0.4"
28
28
  },
29
29
  "dependencies": {
30
30
  "@destyler/color-picker": "^0.1.0",
@@ -48,7 +48,7 @@
48
48
  "alova": "^3.3.4",
49
49
  "ant-design-vue": "^4.2.6",
50
50
  "type-fest": "^4.41.0",
51
- "pubinfo": "2.0.3"
51
+ "pubinfo": "2.0.4"
52
52
  },
53
53
  "scripts": {
54
54
  "dev": "pubinfo build -w --sourcemap",
@@ -36,7 +36,6 @@ export function useWebSocketManager() {
36
36
  const ws = globalThis.__PUBINFO_WEBSOCKET__;
37
37
 
38
38
  if (!ws) {
39
- console.warn('WebSocket 连接不可用');
40
39
  return;
41
40
  }
42
41