mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-07-22 21:13:47 +08:00
fix: origin is null
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
|
||||
[](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)
|
||||
|
||||
已实现功能:
|
||||
|
||||
@@ -151,6 +151,8 @@ function parseDynamicCard(data) {
|
||||
/* 转发 */
|
||||
if (obj.type === 1) {
|
||||
obj.origin = parseDynamicCard({item: ditem.orig});
|
||||
} else {
|
||||
obj.origin = {};
|
||||
}
|
||||
} catch (e) {
|
||||
log.error('动态卡片解析', e);
|
||||
|
||||
Reference in New Issue
Block a user