fix: form input value가 string이 되어 number 검사에 실패
This commit is contained in:
1 parent
1a43f118cc
commit
c067b8623c
1 file changed
+1
-1
@@ -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