[FIX] 固定費の収支区分が自動で入力されないバグを修正しました。

This commit is contained in:
s-choi
2026-09-29 15:58:55 +09:00
parent bbee55f58f
commit 67cc89d2a8

View File

@@ -122,6 +122,16 @@
const tType = '[[${session.tType}]]'; const tType = '[[${session.tType}]]';
console.log("tType: " + tType);
if (tType.includes("0")) {
console.log("okokokokokokokkkokokokoko");
transactionType.value = "0";
} else if (tType.includes("1")) {
transactionType.value = "1";
}
function toggleCategory() { function toggleCategory() {
if (transactionType.value === "0") { if (transactionType.value === "0") {
@@ -164,12 +174,6 @@
}); });
if (tType == "0") {
transactionType.value = "0";
} else if (tType == "1") {
transactionType.value = "1";
}
toggleCategory(); toggleCategory();
</script> </script>