mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-05-31 05:14:02 +00:00
脚本名字去重
This commit is contained in:
parent
95ae2539e7
commit
0b7054e020
@ -279,7 +279,8 @@ export default defineComponent({
|
||||
execInspect();
|
||||
}
|
||||
if (data.subfixIconTip) {
|
||||
const multiple = data.subfixIconTip.split("\n");
|
||||
const arr = data.subfixIconTip.split("\n");
|
||||
const multiple = [...new Set(arr)];
|
||||
if (multiple.length >= 2) {
|
||||
const menus: IUiMenuItem[] = [];
|
||||
for (let i = 0; i < multiple.length; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user