mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-11-09 00:05:24 +00:00
脚本名字去重
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user