优化页面
This commit is contained in:
@@ -6,15 +6,13 @@ const TUIKit_utils_enableSampleTaskStatus = require("../../../utils/enableSample
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../offlinePushInfoManager/index.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_const = require("../offlinePushInfoManager/const.js");
|
||||
if (!Math) {
|
||||
(EmojiPickerDialog + ImageUpload + VideoUpload + Words + CustomMessage + UserSelector + popupinvite)();
|
||||
(ImageUpload + VideoUpload + Words + CustomMessage + UserSelector)();
|
||||
}
|
||||
const ImageUpload = () => "./image-upload/index.js";
|
||||
const VideoUpload = () => "./video-upload/index.js";
|
||||
const Words = () => "./words/index.js";
|
||||
const EmojiPickerDialog = () => "./emoji-picker/emoji-picker-dialog.js";
|
||||
const UserSelector = () => "./user-selector/index.js";
|
||||
const CustomMessage = () => "./evaluate/CustomMessage.js";
|
||||
const popupinvite = () => "./evaluate/popupinvite.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
props: {
|
||||
@@ -32,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const featureConfig = TUIKit_components_TUIChat_config.ChatConfig.getFeatureConfig();
|
||||
const neededCountFirstPage = common_vendor.ref(8);
|
||||
const slicePos = common_vendor.ref(0);
|
||||
const popupinviteRef = common_vendor.ref(null);
|
||||
common_vendor.ref(null);
|
||||
const computeToolbarPaging = () => {
|
||||
if (featureConfig.InputImage && featureConfig.InputVideo) {
|
||||
neededCountFirstPage.value -= 4;
|
||||
@@ -161,7 +159,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
|
||||
m: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}), {
|
||||
n: common_vendor.sr(userSelectorRef, "d01919ac-7", {
|
||||
n: common_vendor.sr(userSelectorRef, "76f68da4-6", {
|
||||
"k": "userSelectorRef"
|
||||
}),
|
||||
o: common_vendor.o$1(onUserSelectorSubmit),
|
||||
@@ -170,9 +168,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
type: common_vendor.unref(selectorShowType),
|
||||
currentConversation: common_vendor.unref(currentConversation),
|
||||
isGroup: common_vendor.unref(isGroup)
|
||||
}),
|
||||
r: common_vendor.sr(popupinviteRef, "d01919ac-8", {
|
||||
"k": "popupinviteRef"
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user