imchaty-client
v1.1.1
Published
## 访客端聊天插件 (兼容 PC / H5) 1、 安装 ``` npm install imchaty-client ```
Downloads
3,008
Readme
SaleChaty 访客端插件
访客端聊天插件
(兼容 PC / H5) 1、 安装
npm install imchaty-client
2、 使用
<template>
<IMChatyClient
orgi='XXXX'
appid='XXXX'
baseUrl='XXXX'
/>
</template>
<script setup lang="ts">
import { IMChatyClient } from 'imchaty-client';
</script>
3、参数说明
- orgi 必传 租户id
- appid 必传 插件id
- baseUrl 接口环境地址
- model 模式,默认为插件模式。 plug 插件模式,显示入口,点击入口显示聊天框; chat 聊天模式,不显示入口,直接显示聊天框; preview 预览模式,在设置的时候预览