add util.ts for sharing common functions between frontend and backend

This commit is contained in:
LouisLam 2021-07-30 11:23:04 +08:00
parent 71af902a4e
commit 081abcb6a1
12 changed files with 120 additions and 49 deletions

View file

@ -345,9 +345,9 @@
</Confirm>
</template>
<script>
<script lang="ts">
import { Modal } from "bootstrap"
import { ucfirst } from "../util-frontend"
import { ucfirst } from "../util.ts"
import axios from "axios";
import { useToast } from "vue-toastification"
import Confirm from "./Confirm.vue";