@blueking/ai-blueking 0.2.0-beta.14 → 0.2.0-beta.16

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.
@@ -19612,7 +19612,7 @@ const Tpe = { class: "message-content user" }, xpe = {
19612
19612
  )
19613
19613
  ])) : Vt("v-if", !0);
19614
19614
  }
19615
- }), qpe = /* @__PURE__ */ so(Kpe, [["__scopeId", "data-v-55c9a119"]]), vv = (t) => (bc("data-v-93562db6"), t = t(), Ic(), t), ede = {
19615
+ }), qpe = /* @__PURE__ */ so(Kpe, [["__scopeId", "data-v-55c9a119"]]), vv = (t) => (bc("data-v-ff64c3cb"), t = t(), Ic(), t), ede = {
19616
19616
  key: 0,
19617
19617
  width: "18",
19618
19618
  height: "18",
@@ -19655,11 +19655,13 @@ const Tpe = { class: "message-content user" }, xpe = {
19655
19655
  return;
19656
19656
  d.target.scrollTop < 200 && r("scroll-load");
19657
19657
  }), c = () => {
19658
- if (n.loading) {
19659
- GD({ theme: "warning", message: Ye("内容正在执行中,请执行完成后再发送") });
19660
- return;
19658
+ if (i.value) {
19659
+ if (n.loading) {
19660
+ GD({ theme: "warning", message: Ye("内容正在执行中,请执行完成后再发送") });
19661
+ return;
19662
+ }
19663
+ r("send", i.value), i.value = "";
19661
19664
  }
19662
- i.value && (r("send", i.value), i.value = "");
19663
19665
  }, l = (d) => {
19664
19666
  r("choose-prompt", d);
19665
19667
  }, u = () => {
@@ -19771,7 +19773,7 @@ const Tpe = { class: "message-content user" }, xpe = {
19771
19773
  /* STYLE */
19772
19774
  ));
19773
19775
  }
19774
- }), cde = /* @__PURE__ */ so(sde, [["__scopeId", "data-v-93562db6"]]), lde = { class: "ai-modal-header-icon" }, ude = /* @__PURE__ */ Wn({
19776
+ }), cde = /* @__PURE__ */ so(sde, [["__scopeId", "data-v-ff64c3cb"]]), lde = { class: "ai-modal-header-icon" }, ude = /* @__PURE__ */ Wn({
19775
19777
  __name: "render-modal",
19776
19778
  props: {
19777
19779
  headBackground: { default: "linear-gradient(267deg, #2dd1f4 0%, #1482ff 95%)" },
@@ -20276,7 +20278,7 @@ const yde = {
20276
20278
  this.app = Mv({
20277
20279
  render() {
20278
20280
  return e = this, wv(pde, {
20279
- messages: n.messages,
20281
+ messages: JSON.parse(JSON.stringify(n.messages)),
20280
20282
  prompts: n.prompts,
20281
20283
  loading: n.loading,
20282
20284
  headBackground: n.headBackground,