feat: permissions
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user