tx-sider 2.3.24 → 2.3.25
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/lib/TXUI.mjs +3 -3
- package/lib/TXUI.umd.js +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -54440,7 +54440,7 @@ function isLogger(logger) {
|
|
|
54440
54440
|
function useCcflowCall() {
|
|
54441
54441
|
const hostname2 = window.location.hostname.split(".");
|
|
54442
54442
|
const protocol2 = window.location.protocol;
|
|
54443
|
-
const jumpUrl = process.env.NODE_ENV == "development" ? "https://
|
|
54443
|
+
const jumpUrl = process.env.NODE_ENV == "development" ? "https://ccflow.nacho.cn" : `${protocol2}//ccflow.${hostname2[1]}.${hostname2[2]}`;
|
|
54444
54444
|
const jumpMsgUrl = process.env.NODE_ENV == "development" ? "https://uc.nacho.cn" : `${protocol2}//uc.${hostname2[1]}.${hostname2[2]}`;
|
|
54445
54445
|
const connection = ref(null);
|
|
54446
54446
|
const ccflowData = reactive({
|
|
@@ -54460,8 +54460,8 @@ function useCcflowCall() {
|
|
|
54460
54460
|
connection.value.on("PublishNewVersion", (res) => {
|
|
54461
54461
|
ccflowData.newVersionList = res;
|
|
54462
54462
|
});
|
|
54463
|
-
connection.value.on("
|
|
54464
|
-
console.log("
|
|
54463
|
+
connection.value.on("GetPersonMessageCount", (res) => {
|
|
54464
|
+
console.log("GetPersonMessageCount", "获取数据:", res);
|
|
54465
54465
|
ccflowData.messageList = "";
|
|
54466
54466
|
ccflowData.messageList = res;
|
|
54467
54467
|
});
|