43 lines
741 B
Vue
43 lines
741 B
Vue
<script lang="ts">
|
|
// #ifdef APP-PLUS || H5
|
|
import { TUIChatKit } from "./TUIKit";
|
|
TUIChatKit.init();
|
|
// #endif
|
|
// Required information
|
|
// You can get userSig from TencentCloud chat console for Testing TUIKit.
|
|
// Deploy production environment please get it from your server.
|
|
// View https://cloud.tencent.com/document/product/269/32688
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
info: {},
|
|
userSig: "",
|
|
chatInfo: {},
|
|
};
|
|
},
|
|
onLoad(option) {
|
|
},
|
|
methods: {
|
|
},
|
|
provide() {
|
|
return {
|
|
$global: {
|
|
lastPage: null,
|
|
},
|
|
};
|
|
},
|
|
};
|
|
</script>
|
|
<style>
|
|
/* common css for page */
|
|
uni-page-body,
|
|
html,
|
|
body,
|
|
page {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
overflow: hidden;
|
|
}
|
|
</style>
|