mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
fix: origin is null
This commit is contained in:
parent
2f4734c9de
commit
1c369415ef
@ -24,8 +24,6 @@
|
|||||||
|
|
||||||
[](https://github.com/shanmiteko/LotteryAutoScript/actions/workflows/docker.yml)
|
[](https://github.com/shanmiteko/LotteryAutoScript/actions/workflows/docker.yml)
|
||||||
|
|
||||||
[](https://github.com/shanmiteko/LotteryAutoScript/actions/workflows/npmp.yml)
|
|
||||||
|
|
||||||
[](https://github.com/shanmiteko/LotteryAutoScript/actions/workflows/mirror.yml)
|
[](https://github.com/shanmiteko/LotteryAutoScript/actions/workflows/mirror.yml)
|
||||||
|
|
||||||
已实现功能:
|
已实现功能:
|
||||||
|
|||||||
@ -151,6 +151,8 @@ function parseDynamicCard(data) {
|
|||||||
/* 转发 */
|
/* 转发 */
|
||||||
if (obj.type === 1) {
|
if (obj.type === 1) {
|
||||||
obj.origin = parseDynamicCard({item: ditem.orig});
|
obj.origin = parseDynamicCard({item: ditem.orig});
|
||||||
|
} else {
|
||||||
|
obj.origin = {};
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log.error('动态卡片解析', e);
|
log.error('动态卡片解析', e);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user