From f077ff83f84e4e9602aaa6519f13a1a8adbfcad2 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 6 Dec 2023 08:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuMethod.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuMethod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcJuMethod.js b/SrcJuMethod.js index 838f8bcc..290ba550 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -1,7 +1,7 @@ //修正按钮元素 function toerji(item,info) { info = info || storage0.getMyVar('一级源接口信息'); - let extra = Object.assign({}, item.extra); + let extra = Object.assign({}, item.extra || {}); //let extra = item.extra || {}; extra.name = extra.name || extra.pageTitle || (item.title?item.title.replace(/‘|’|“|”|<[^>]+>/g,""):""); extra.img = extra.img || item.pic_url || item.img;