aI问答支持流式输出,效果非常好
This commit is contained in:
@@ -59,7 +59,7 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.db = common_vendor.tr.database();
|
||||
this.db = common_vendor._r.database();
|
||||
this.searchLogDb = this.db.collection(this.searchLogDbName);
|
||||
this.mallGoodsDb = this.db.collection(this.mallGoodsDbName);
|
||||
common_vendor.index.onKeyboardHeightChange((res) => {
|
||||
@@ -231,10 +231,10 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.sr("searchBar", "d9f44979-0"),
|
||||
b: common_vendor.o($options.clear),
|
||||
c: common_vendor.o($options.confirm),
|
||||
d: common_vendor.o($options.cancel),
|
||||
e: common_vendor.o(($event) => $data.searchText = $event),
|
||||
b: common_vendor.o($options.clear, "92"),
|
||||
c: common_vendor.o($options.confirm, "67"),
|
||||
d: common_vendor.o($options.cancel, "80"),
|
||||
e: common_vendor.o(($event) => $data.searchText = $event, "3e"),
|
||||
f: common_vendor.p({
|
||||
radius: "100",
|
||||
focus: $data.focus,
|
||||
@@ -247,15 +247,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.localSearchList.length ? common_vendor.e({
|
||||
h: !$data.localSearchListDel
|
||||
}, !$data.localSearchListDel ? {
|
||||
i: common_vendor.o(($event) => $data.localSearchListDel = true),
|
||||
i: common_vendor.o(($event) => $data.localSearchListDel = true, "67"),
|
||||
j: common_vendor.p({
|
||||
color: $data.iconColor,
|
||||
size: "18",
|
||||
type: "trash"
|
||||
})
|
||||
} : {
|
||||
k: common_vendor.o((...args) => $options.LocalSearchListClear && $options.LocalSearchListClear(...args)),
|
||||
l: common_vendor.o(($event) => $data.localSearchListDel = false)
|
||||
k: common_vendor.o((...args) => $options.LocalSearchListClear && $options.LocalSearchListClear(...args), "3c"),
|
||||
l: common_vendor.o(($event) => $data.localSearchListDel = false, "c8")
|
||||
}, {
|
||||
m: common_vendor.f($data.localSearchList, (word, index, i0) => {
|
||||
return common_vendor.e({
|
||||
@@ -276,14 +276,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}) : {}, {
|
||||
o: !$data.netHotListIsHide
|
||||
}, !$data.netHotListIsHide ? {
|
||||
p: common_vendor.o($options.searchHotRefresh),
|
||||
p: common_vendor.o($options.searchHotRefresh, "40"),
|
||||
q: common_vendor.p({
|
||||
color: $data.iconColor,
|
||||
size: "14",
|
||||
type: "reload"
|
||||
})
|
||||
} : {}, {
|
||||
r: common_vendor.o(($event) => $data.netHotListIsHide = !$data.netHotListIsHide),
|
||||
r: common_vendor.o(($event) => $data.netHotListIsHide = !$data.netHotListIsHide, "0b"),
|
||||
s: common_vendor.p({
|
||||
color: $data.iconColor,
|
||||
size: "18",
|
||||
|
||||
Reference in New Issue
Block a user