cnhis-design-vue 3.3.1-beta.12 → 3.3.1-beta.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.
@@ -1 +1 @@
|
|
1
|
-
import{onBeforeUnmount as o}from"vue";import{isValidJSON as e}from"../utils/index.js";function
|
1
|
+
import{onBeforeUnmount as o}from"vue";import{isValidJSON as e}from"../utils/index.js";function t(t,n){if(!t.orgId||!t.userId)return;let s=!1;try{const r=window.location.protocol,c=window.location.host,l=`${"https:"===r?"wss:":"ws:"}//${c}/flow/ai/opd/${t.orgId}_${t.userId}`,i=new WebSocket(l);i.onopen=()=>{s=!0,console.log("0 websocket连接成功 ==>")},i.onerror=()=>console.log("WebSocket连接失败"),i.onmessage=o=>{const{data:t}=o||{};if(console.log("张铁柱 ==>",o),!e(t))return;const s=JSON.parse(t);n.reportContent=s||null},async function e(t=0){return t>5?console.log("websocket连接失败 ==>"):s?console.log("websocket连接成功 ==>"):(setTimeout((()=>{e(++t)}),100),void o((()=>{i.close()})))}()}catch(o){console.log("error ==>",o)}}export{t as useWebsocket};
|
@@ -1 +1 @@
|
|
1
|
-
var e="@cnhis-design-vue/shared",i="3.3.1-beta.
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.3.1-beta.14",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.3.1-beta.14",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cnhis-design-vue",
|
3
|
-
"version": "3.3.1-beta.
|
3
|
+
"version": "3.3.1-beta.14",
|
4
4
|
"license": "ISC",
|
5
5
|
"module": "./es/components/index.js",
|
6
6
|
"main": "./es/components/index.js",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"iOS 7",
|
73
73
|
"last 3 iOS versions"
|
74
74
|
],
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "f801fefb4bf39c067561892b3366831850f2f580"
|
76
76
|
}
|