Skip to content

Commit 9202604

Browse files
committed
fix: aaa
1 parent 24b867b commit 9202604

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/modules/tag/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ export default class Tag {
296296
value: (value ?? '').toString(),
297297
};
298298
});
299+
} else if (typeof inputs !== 'object' && inputs) {
300+
// 非数组或者对象key-value类型的数据,需要返回原始输入数据
301+
tags = inputs;
299302
} else {
300303
tags = undefined as any;
301304
}

0 commit comments

Comments
 (0)