fix: form input value가 string이 되어 number 검사에 실패
This commit is contained in:
@@ -413,7 +413,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async buyInheritBuff(buffKey: inheritBuffType) {
|
async buyInheritBuff(buffKey: inheritBuffType) {
|
||||||
const level = this.inheritBuff[buffKey];
|
const level = Math.floor(this.inheritBuff[buffKey]);
|
||||||
const prevLevel = this.prevInheritBuff[buffKey] ?? 0;
|
const prevLevel = this.prevInheritBuff[buffKey] ?? 0;
|
||||||
if (level == prevLevel) {
|
if (level == prevLevel) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user