|
@@ -547,7 +547,7 @@ const openFollowTabs = (arr_name) => {
|
|
|
state.done.follow = false
|
|
|
// 打开标签页的方法
|
|
|
array_finish.forEach((item) => {
|
|
|
- url = `https://twitter.com/intent/follow?screen_name=${item.name}&tweet_id=${state.tweetId}`
|
|
|
+ url = `https://twitter.com/intent/follow?screen_name=${item}&tweet_id=${state.tweetId}`
|
|
|
chrome.tabs.create({ url }, (tab) => {
|
|
|
if (follow_open_tabs.filter((item) => { return item.url == tab.url }).length == 0) {
|
|
|
follow_open_tabs.push(tab)
|