const tl_rtc_app_module_cut_paste_top = { props : { company : { type : Object, default : function(){ return { name : "" } } }, isMobile: { type: Boolean, default: false }, leftModule: { type: String, default: '' }, rightModule: { type: String, default: '' } }, computed: { propsCompany(){ return this.company; }, propsIsMobile(){ return this.isMobile; }, propsLeftModule() { return this.leftModule; }, propsRightModule() { return this.rightModule; }, }, watch: { searchKey : { deep: true, immediate: true, handler: function(cur, pre){ this.emitSubModuleEvent({ event: 'sub-module-cut-paste-search-key-update', data: { key: cur } }) } }, leftModule: function (val) { }, rightModule: function (val) { } }, data : function(){ return { searchKey: '', // 搜索关键字 } }, methods: { /** * 事件触发,向上传递 * @param {*} event */ leftModuleChange: function(event){ this.$emit('left-module-change', event) }, /** * 事件触发,向上传递 * @param {*} event */ rightModuleChange: function(event){ this.$emit('right-module-change', event) }, /** * 打开快速操作面板 */ openQuickOperPanel: function(){ this.emitSubModuleEvent({ event: 'component-popup-add-quick-oper-panel', }) } }, mounted() { }, template: `
共享剪贴板
`, } window.tl_rtc_app_module_cut_paste_top = tl_rtc_app_module_cut_paste_top