mirror of https://github.com/doccano/doccano.git
2 changed files with 38 additions and 72 deletions
Split View
Diff Options
-
32frontend/components/atoms/BaseModal.vue
-
78frontend/components/containers/settings/ConfigList.vue
@ -1,32 +0,0 @@ |
|||
<template> |
|||
<v-dialog |
|||
v-model="dialog" |
|||
width="800px" |
|||
> |
|||
<template v-slot:activator="{ }"> |
|||
<slot name="opener" :open="open" /> |
|||
</template> |
|||
<slot name="content" :close="close" /> |
|||
</v-dialog> |
|||
</template> |
|||
|
|||
<script lang="ts"> |
|||
import Vue from 'vue' |
|||
|
|||
export default Vue.extend({ |
|||
data() { |
|||
return { |
|||
dialog: false as Boolean |
|||
} |
|||
}, |
|||
|
|||
methods: { |
|||
close(): void { |
|||
this.dialog = false |
|||
}, |
|||
open(): void { |
|||
this.dialog = true |
|||
} |
|||
} |
|||
}) |
|||
</script> |
Write
Preview
Loading…
Cancel
Save