@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,
22 lines (21 loc) • 377 B
JavaScript
import * as Vue from "vue";
function set(target, key, val) {
if (Array.isArray(target)) {
target.splice(key, 1, val);
return val;
}
target[key] = val;
return val;
}
function del(target, key) {
if (Array.isArray(target) && typeof key === "number") {
target.splice(key, 1);
return;
}
delete target[key];
}
export {
Vue as default,
del,
set
};