types: fix some types

This commit is contained in:
xiaoxian521
2021-10-13 21:44:49 +08:00
parent 80328d2e20
commit b87183cb75
10 changed files with 22 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
import { ref } from "vue";
import { storageSession } from "/@/utils/storage";
const auth = ref<Boolean>(storageSession.getItem("info").username || "admin");
const auth = ref<boolean>(storageSession.getItem("info").username || "admin");
function changRole(value) {
storageSession.setItem("info", {