问答类型增加默认值

This commit is contained in:
zhl 2021-05-25 20:29:30 +08:00
parent 5e41a657f5
commit 83ff64b9b4

View File

@ -25,7 +25,7 @@ export class ShopPuzzleClass extends Base{
* 题目类型: 1: , 2: 图片, 3: 问卷式题目
* @type {number}
*/
@prop()
@prop({default: 1})
public type: number
public compactRecord(withAnswer: boolean) {