UNPKG

@tencentcloud/ai-desk-customer-wechat

Version:

AI Desk customer UIKit for wechat mini program

35 lines (34 loc) 1.02 kB
"use strict"; const common_vendor = require("../../../../../common/vendor.js"); const aiDeskCustomerUniapp_adapterVue = require("../../../../adapter-vue.js"); require("../../emoji-config/index.js"); const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "message-face", props: { content: { type: Object, default: () => ({}) } }, setup(__props) { const { ref, onMounted } = aiDeskCustomerUniapp_adapterVue.vue; const props = __props; const url = ref(props.content.url); onMounted(() => { if (props.content.type === "custom") { { console.warn( "CUSTOM_BIG_EMOJI_URL is required for custom emoji, please check your CUSTOM_BIG_EMOJI_URL." ); } } }); return (_ctx, _cache) => { return { a: common_vendor.unref(url) }; }; } }); const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-15db2fd4"]]); wx.createComponent(Component);