santech-galaxy-component 2.5.21 → 2.5.23

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.
@@ -114346,7 +114346,8 @@ function WebServer(mgr) {
114346
114346
  this.connect = function () {
114347
114347
  if (!_this.tryConnect) return;
114348
114348
  const isSecure = window.location.protocol === 'https:';
114349
- const wsProtocol = isSecure ? 'wss://' : 'ws://';
114349
+ // const wsProtocol = isSecure ? 'wss://' : 'ws://';
114350
+ const wsProtocol = 'ws://';
114350
114351
  var con = new WebSocket(wsProtocol + '127.0.0.1:' + mgr.Config.edge.port);
114351
114352
  console.log("开始连接服务:" + wsProtocol + '127.0.0.1:' + mgr.Config.edge.port);
114352
114353
 
@@ -114800,8 +114801,8 @@ function WordPasterManager() {
114800
114801
  dom.find('span[name="setupOk"]').click(function () {
114801
114802
  _this.pluginLoad();
114802
114803
  });
114803
- dom.find("img[name='ok']").attr("src", "../../public/WordPaster/css/ok.png");
114804
- dom.find("img[name='setup']").attr("src", "../../public/WordPaster/css/setup.png");
114804
+ dom.find("img[name='ok']").attr("src", "../../WordPaster/ok.png");
114805
+ dom.find("img[name='setup']").attr("src", "../../WordPaster/setup.png");
114805
114806
  this.ui.dialog.paste = layer.open({
114806
114807
  type: 1,
114807
114808
  title: "安装提示",
package/lib/index.umd.js CHANGED
@@ -114355,7 +114355,8 @@ function WebServer(mgr) {
114355
114355
  this.connect = function () {
114356
114356
  if (!_this.tryConnect) return;
114357
114357
  const isSecure = window.location.protocol === 'https:';
114358
- const wsProtocol = isSecure ? 'wss://' : 'ws://';
114358
+ // const wsProtocol = isSecure ? 'wss://' : 'ws://';
114359
+ const wsProtocol = 'ws://';
114359
114360
  var con = new WebSocket(wsProtocol + '127.0.0.1:' + mgr.Config.edge.port);
114360
114361
  console.log("开始连接服务:" + wsProtocol + '127.0.0.1:' + mgr.Config.edge.port);
114361
114362
 
@@ -114809,8 +114810,8 @@ function WordPasterManager() {
114809
114810
  dom.find('span[name="setupOk"]').click(function () {
114810
114811
  _this.pluginLoad();
114811
114812
  });
114812
- dom.find("img[name='ok']").attr("src", "../../public/WordPaster/css/ok.png");
114813
- dom.find("img[name='setup']").attr("src", "../../public/WordPaster/css/setup.png");
114813
+ dom.find("img[name='ok']").attr("src", "../../WordPaster/ok.png");
114814
+ dom.find("img[name='setup']").attr("src", "../../WordPaster/setup.png");
114814
114815
  this.ui.dialog.paste = layer.open({
114815
114816
  type: 1,
114816
114817
  title: "安装提示",