fix: form input value가 string이 되어 number 검사에 실패
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user