fix: form input value가 string이 되어 number 검사에 실패

This commit is contained in:
2022-05-15 16:52:23 +09:00
parent d318ff7d90
commit 459c108b13
+1 -1
View File
@@ -413,7 +413,7 @@ export default defineComponent({
},
methods: {
async buyInheritBuff(buffKey: inheritBuffType) {
const level = this.inheritBuff[buffKey];
const level = Math.floor(this.inheritBuff[buffKey]);
const prevLevel = this.prevInheritBuff[buffKey] ?? 0;
if (level == prevLevel) {
return;