Skip to content

Commit bdf2396

Browse files
author
WinterPu
committed
remove some warnings
1 parent 32fd76d commit bdf2396

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

renders/utility/blueprint_special/bptype_helper.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,11 @@ export function getBPMemberVariableDefaultValue(
769769
if (valDefaultVal === 'NULL') {
770770
valDefaultVal = '0';
771771
}
772+
// remove warnings
773+
if (bNeedDefaultValue == false) {
774+
bNeedDefaultValue = true;
775+
valDefaultVal = '0';
776+
}
772777
}
773778

774779
return [bNeedDefaultValue, valDefaultVal];

0 commit comments

Comments
 (0)