@ibiz-template/vue3-components 0.7.41-alpha.145 → 0.7.41-alpha.146

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.
@@ -90,7 +90,7 @@ class AIChatUtil {
90
90
  return result;
91
91
  };
92
92
  topicOptions.action = async (action, context2, params2, data2, event) => {
93
- if (action === "LINK") {
93
+ if (action === "LINK" && data2.url) {
94
94
  await ibiz.openView.push(data2.url);
95
95
  }
96
96
  return true;
@@ -716,7 +716,7 @@ class AIChatUtil {
716
716
  return result;
717
717
  };
718
718
  topicOptions.action = async (action, context2, params2, data2, event) => {
719
- if (action === "LINK") {
719
+ if (action === "LINK" && data2.url) {
720
720
  await ibiz.openView.push(data2.url);
721
721
  }
722
722
  return true;
@@ -92,7 +92,7 @@ class AIChatUtil {
92
92
  return result;
93
93
  };
94
94
  topicOptions.action = async (action, context2, params2, data2, event) => {
95
- if (action === "LINK") {
95
+ if (action === "LINK" && data2.url) {
96
96
  await ibiz.openView.push(data2.url);
97
97
  }
98
98
  return true;
@@ -718,7 +718,7 @@ class AIChatUtil {
718
718
  return result;
719
719
  };
720
720
  topicOptions.action = async (action, context2, params2, data2, event) => {
721
- if (action === "LINK") {
721
+ if (action === "LINK" && data2.url) {
722
722
  await ibiz.openView.push(data2.url);
723
723
  }
724
724
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.41-alpha.145",
3
+ "version": "0.7.41-alpha.146",
4
4
  "description": "web端组件库(vue3)",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -31,16 +31,16 @@
31
31
  "dependencies": {
32
32
  "@amap/amap-jsapi-loader": "^1.0.1",
33
33
  "@floating-ui/dom": "^1.5.3",
34
- "@ibiz-template-plugin/ai-chat": "^0.0.111",
34
+ "@ibiz-template-plugin/ai-chat": "^0.0.112",
35
35
  "@ibiz-template-plugin/gantt": "0.1.8-alpha.468",
36
36
  "@ibiz-template-plugin/bi-report": "0.0.32",
37
37
  "@ibiz-template-plugin/data-view": "0.0.8",
38
38
  "@ibiz-template/core": "0.7.41-alpha.147",
39
39
  "@ibiz-template/devtool": "0.0.17",
40
- "@ibiz-template/model-helper": "0.7.41-alpha.147",
41
- "@ibiz-template/runtime": "0.7.41-alpha.147",
40
+ "@ibiz-template/model-helper": "0.7.41-alpha.148",
41
+ "@ibiz-template/runtime": "0.7.41-alpha.148",
42
42
  "@ibiz-template/theme": "0.7.39",
43
- "@ibiz-template/vue3-util": "0.7.41-alpha.147",
43
+ "@ibiz-template/vue3-util": "0.7.41-alpha.148",
44
44
  "@ibiz-template/web-theme": "3.16.0",
45
45
  "@ibiz/model-core": "^0.1.89",
46
46
  "@imengyu/vue3-context-menu": "^1.3.5",
@@ -158,7 +158,7 @@ export class AIChatUtil implements IApiAIChatUtil {
158
158
  data: IData,
159
159
  event: MouseEvent,
160
160
  ) => {
161
- if (action === 'LINK') {
161
+ if (action === 'LINK' && data.url) {
162
162
  await ibiz.openView.push(data.url);
163
163
  }
164
164
  return true;
@@ -954,7 +954,7 @@ export class AIChatUtil implements IApiAIChatUtil {
954
954
  data: IData,
955
955
  event: MouseEvent,
956
956
  ) => {
957
- if (action === 'LINK') {
957
+ if (action === 'LINK' && data.url) {
958
958
  await ibiz.openView.push(data.url);
959
959
  }
960
960
  return true;