forked from ard/ruoyi-api

zhangjian
2023-05-30 686affcacf0d761610ccc00da111a2f0fdd0d27f
1
2
3
4
5
6
7
export function arrRemove(arr, item) {
    if (arr) {
        const index = arr.indexOf(item);
        0 <= index && arr.splice(index, 1);
    }
}
//# sourceMappingURL=arrRemove.js.map