fix: 장수 생성창 보이기/숨기기, 턴 시간 고정 표기 수정
This commit is contained in:
+4
-4
@@ -149,7 +149,7 @@
|
|||||||
<div class="col col-md-1 col-3">
|
<div class="col col-md-1 col-3">
|
||||||
<label
|
<label
|
||||||
><input type="checkbox" v-model="displayInherit" />{{
|
><input type="checkbox" v-model="displayInherit" />{{
|
||||||
displayTable ? "숨기기" : "보이기"
|
displayInherit ? "숨기기" : "보이기"
|
||||||
}}</label
|
}}</label
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -458,21 +458,21 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
inheritTurnTimeMinute(newValue: number) {
|
inheritTurnTimeMinute(newValue: number) {
|
||||||
if (!this.inheritTurnTimeSet) {
|
if (!this.inheritTurnTimeSet) {
|
||||||
this.args.inheritTurntime = 0;
|
this.args.inheritTurntime = undefined;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.args.inheritTurntime = newValue * 60 + this.inheritTurnTimeSecond;
|
this.args.inheritTurntime = newValue * 60 + this.inheritTurnTimeSecond;
|
||||||
},
|
},
|
||||||
inheritTurnTimeSecond(newValue: number) {
|
inheritTurnTimeSecond(newValue: number) {
|
||||||
if (!this.inheritTurnTimeSet) {
|
if (!this.inheritTurnTimeSet) {
|
||||||
this.args.inheritTurntime = 0;
|
this.args.inheritTurntime = undefined;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.args.inheritTurntime = this.inheritTurnTimeMinute * 60 + newValue;
|
this.args.inheritTurntime = this.inheritTurnTimeMinute * 60 + newValue;
|
||||||
},
|
},
|
||||||
inheritTurnTimeSet(newValue: boolean) {
|
inheritTurnTimeSet(newValue: boolean) {
|
||||||
if (!newValue) {
|
if (!newValue) {
|
||||||
this.args.inheritTurntime = 0;
|
this.args.inheritTurntime = undefined;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.args.inheritTurntime =
|
this.args.inheritTurntime =
|
||||||
|
|||||||
Reference in New Issue
Block a user