tx-sider 2.1.63 → 2.1.64
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 +12 -7
- package/lib/TXUI.umd.js +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -34543,10 +34543,10 @@ var axiosExports = axios$3.exports;
|
|
|
34543
34543
|
var axios = axiosExports;
|
|
34544
34544
|
const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
|
|
34545
34545
|
const routes = [
|
|
34546
|
-
{
|
|
34547
|
-
|
|
34548
|
-
|
|
34549
|
-
}
|
|
34546
|
+
// {
|
|
34547
|
+
// path: "/",
|
|
34548
|
+
// component: TSider,
|
|
34549
|
+
// },
|
|
34550
34550
|
];
|
|
34551
34551
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34552
34552
|
__proto__: null,
|
|
@@ -41415,18 +41415,23 @@ function useCcflowCall() {
|
|
|
41415
41415
|
ccflowData.todoList = res;
|
|
41416
41416
|
});
|
|
41417
41417
|
connection.value.on("MenuNums", (res) => {
|
|
41418
|
-
console.log("MenuNums", "获取数据:", res);
|
|
41419
41418
|
ccflowData.menuNumsList = JSON.parse(res);
|
|
41420
41419
|
});
|
|
41420
|
+
connection.value.on("PublishNewVersion", (res) => {
|
|
41421
|
+
console.log("PublishNewVersion", "获取数据:", res);
|
|
41422
|
+
ccflowData.newVersionList = JSON.parse(res);
|
|
41423
|
+
});
|
|
41421
41424
|
connection.value.onreconnected(async (id) => {
|
|
41422
41425
|
await connection.value.invoke("Start");
|
|
41423
41426
|
await connection.value.invoke("MenuNums");
|
|
41427
|
+
await connection.value.invoke("NewVersion", "ZC", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
|
|
41424
41428
|
});
|
|
41425
41429
|
if (connection.value.state !== HubConnectionState.Connected) {
|
|
41426
41430
|
connection.value.start().then(async () => {
|
|
41427
41431
|
console.log("启动即时通信成功");
|
|
41428
41432
|
await connection.value.invoke("Start");
|
|
41429
41433
|
await connection.value.invoke("MenuNums");
|
|
41434
|
+
await connection.value.invoke("NewVersion", "ZC", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
|
|
41430
41435
|
});
|
|
41431
41436
|
}
|
|
41432
41437
|
};
|
|
@@ -42230,7 +42235,7 @@ const _sfc_main = {
|
|
|
42230
42235
|
};
|
|
42231
42236
|
}
|
|
42232
42237
|
};
|
|
42233
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
42238
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-21939414"), n2 = n2(), popScopeId(), n2);
|
|
42234
42239
|
const _hoisted_1 = {
|
|
42235
42240
|
class: "bg-white defaultTS funcTC relative",
|
|
42236
42241
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -43203,7 +43208,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43203
43208
|
}, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true)
|
|
43204
43209
|
], 64);
|
|
43205
43210
|
}
|
|
43206
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
43211
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-21939414"]]);
|
|
43207
43212
|
const components = [TSider];
|
|
43208
43213
|
installComponents();
|
|
43209
43214
|
function installComponents() {
|