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

@@ -121,9 +121,6 @@
<script>
import Confirm from "../../components/Confirm.vue";
import dayjs from "dayjs";
import { useToast } from "vue-toastification";
const toast = useToast();
export default {
components: {
@@ -200,11 +197,7 @@ export default {
(res) => {
this.processing = false;
if (res.ok) {
toast.success(res.msg);
} else {
toast.error(res.msg);
}
this.$root.toastRes(res);
}
);
};