UNPKG

@tencentcloud/roomkit-web-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

23 lines (19 loc) 492 B
import * as Vue from 'vue'; export default Vue; export function set(target: any, key: any, val: any) { if (Array.isArray(target)) { target.splice(key, 1, val); return val; } // eslint-disable-next-line no-param-reassign target[key] = val; return val; } export function del(target: any, key: any) { if (Array.isArray(target) && typeof key === 'number') { target.splice(key, 1); return; } // eslint-disable-next-line no-param-reassign delete target[key]; }