const tl_rtc_app_module_contact = { props: { socket: { type: Object, default: null }, isMobile: { type: Boolean, default: false }, leftModule: { type: String, default: '' }, rightModule: { type: String, default: '' } }, computed: { propsSocket(){ return this.socket; }, propsIsMobile(){ return this.isMobile; }, propsLeftModule() { return this.leftModule; }, propsRightModule() { return this.rightModule; }, }, watch: { leftModule: function (val) { }, rightModule: function (val) { } }, data : function(){ return { } }, methods: { /** * 事件触发,向上传递 * @param {*} event */ leftModuleChange: function(event){ this.$emit('left-module-change', event) }, /** * 事件触发,向上传递 * @param {*} event */ rightModuleChange: function(event){ this.$emit('right-module-change', event) }, }, mounted() { }, components:{ 'tl_rtc_app_module_contact_top': window.tl_rtc_app_module_contact_top, 'tl_rtc_app_module_contact_list': window.tl_rtc_app_module_contact_list, }, template: `