|
@@ -1,8 +1,7 @@
|
|
|
-import { defineComponent, ref } from 'vue'
|
|
|
-import { useUserStore } from '@/store/modules/user'
|
|
|
+import {defineComponent, ref} from 'vue'
|
|
|
+import {useUserStore} from '@/store/modules/user'
|
|
|
import styles from './index.module.less'
|
|
|
-import { NSpin } from 'naive-ui'
|
|
|
-import event from './modal/event'
|
|
|
+import {NSpin} from 'naive-ui'
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'imGroup',
|
|
@@ -20,10 +19,10 @@ export default defineComponent({
|
|
|
: location.origin
|
|
|
const src = `${origin}/classroom-im/?platform=orchestra&userID=${imUserId}&Authorization=${userStore.getToken}`
|
|
|
|
|
|
- event.on('selectImChatPersion', (params?: any) => {
|
|
|
- console.log(params, 'params')
|
|
|
- iframeRef.value.contentWindow.postMessage(params, '*')
|
|
|
- })
|
|
|
+ // event.on('selectImChatPersion', (params?: any) => {
|
|
|
+ // console.log(params, 'params')
|
|
|
+ // iframeRef.value.contentWindow.postMessage(params, '*')
|
|
|
+ // })
|
|
|
|
|
|
return () => (
|
|
|
<div class={styles.imGroupContainer}>
|