fix: 장수 생성창 보이기/숨기기, 턴 시간 고정 표기 수정

This commit is contained in:
2021-09-18 02:49:47 +09:00
parent 336b5668db
commit 366678c965
+4 -4
View File
@@ -149,7 +149,7 @@
<div class="col col-md-1 col-3">
<label
><input type="checkbox" v-model="displayInherit" />{{
displayTable ? "숨기기" : "보이기"
displayInherit ? "숨기기" : "보이기"
}}</label
>
</div>
@@ -458,21 +458,21 @@ export default defineComponent({
},
inheritTurnTimeMinute(newValue: number) {
if (!this.inheritTurnTimeSet) {
this.args.inheritTurntime = 0;
this.args.inheritTurntime = undefined;
return;
}
this.args.inheritTurntime = newValue * 60 + this.inheritTurnTimeSecond;
},
inheritTurnTimeSecond(newValue: number) {
if (!this.inheritTurnTimeSet) {
this.args.inheritTurntime = 0;
this.args.inheritTurntime = undefined;
return;
}
this.args.inheritTurntime = this.inheritTurnTimeMinute * 60 + newValue;
},
inheritTurnTimeSet(newValue: boolean) {
if (!newValue) {
this.args.inheritTurntime = 0;
this.args.inheritTurntime = undefined;
return;
}
this.args.inheritTurntime =