This commit is contained in:
Louis Lam
2023-10-14 19:00:27 +08:00
committed by GitHub
parent 9ebf4f97bb
commit 8e441dd8f7
21 changed files with 48 additions and 100 deletions

View File

@@ -92,11 +92,9 @@
<script lang="ts">
import { Modal } from "bootstrap";
import { useToast } from "vue-toastification";
import dayjs from "dayjs";
import Datepicker from "@vuepic/vue-datepicker";
import CopyableInput from "./CopyableInput.vue";
const toast = useToast();
export default {
components: {
@@ -158,7 +156,7 @@ export default {
this.keymodal.show();
this.clearForm();
} else {
toast.error(res.msg);
this.$root.toastError(res.msg);
}
});
},