feat: permissions

This commit is contained in:
JaguarJack
2022-12-07 19:28:57 +08:00
parent a1d9468a91
commit 8c537e6656
45 changed files with 1030 additions and 372 deletions

View File

@@ -18,7 +18,7 @@ const next = () => {
active.value = 2
}
}
console.log(123)
const prev = () => {
if (active.value-- === 1) {
active.value = 1
@@ -26,10 +26,12 @@ const prev = () => {
}
const emit = defineEmits(['close'])
watch(() => schemaStore.getFinished, function (value){
if (value) {
emit('close')
}
})
watch(
() => schemaStore.getFinished,
function (value) {
if (value) {
emit('close')
}
},
)
</script>