aI问答支持流式输出,效果非常好
This commit is contained in:
@@ -163,11 +163,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: $props.readonly,
|
||||
e: $options.placeholderText,
|
||||
f: $props.maxlength,
|
||||
g: common_vendor.o((...args) => $options.confirm && $options.confirm(...args)),
|
||||
h: common_vendor.o((...args) => $options.blur && $options.blur(...args)),
|
||||
i: common_vendor.o((...args) => $options.emitFocus && $options.emitFocus(...args)),
|
||||
g: common_vendor.o((...args) => $options.confirm && $options.confirm(...args), "ef"),
|
||||
h: common_vendor.o((...args) => $options.blur && $options.blur(...args), "dd"),
|
||||
i: common_vendor.o((...args) => $options.emitFocus && $options.emitFocus(...args), "4f"),
|
||||
j: $data.searchVal,
|
||||
k: common_vendor.o(($event) => $data.searchVal = $event.detail.value)
|
||||
k: common_vendor.o(($event) => $data.searchVal = $event.detail.value, "ca")
|
||||
} : {
|
||||
l: common_vendor.t($props.placeholder)
|
||||
}, {
|
||||
@@ -178,15 +178,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
size: "20",
|
||||
type: "clear"
|
||||
}),
|
||||
o: common_vendor.o((...args) => $options.clear && $options.clear(...args))
|
||||
o: common_vendor.o((...args) => $options.clear && $options.clear(...args), "bd")
|
||||
} : {}, {
|
||||
p: $props.radius + "px",
|
||||
q: $props.bgColor,
|
||||
r: common_vendor.o((...args) => $options.searchClick && $options.searchClick(...args)),
|
||||
r: common_vendor.o((...args) => $options.searchClick && $options.searchClick(...args), "cb"),
|
||||
s: $props.cancelButton === "always" || $data.show && $props.cancelButton === "auto"
|
||||
}, $props.cancelButton === "always" || $data.show && $props.cancelButton === "auto" ? {
|
||||
t: common_vendor.t($options.cancelTextI18n),
|
||||
v: common_vendor.o((...args) => $options.cancel && $options.cancel(...args))
|
||||
v: common_vendor.o((...args) => $options.cancel && $options.cancel(...args), "82")
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
Reference in New Issue
Block a user