feat: use defineComponent wrapper
This commit is contained in:

committed by
kolaente

parent
a3329f1b42
commit
ba9f69344a
@ -14,9 +14,11 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {defineComponent} from 'vue'
|
||||
|
||||
import NamespaceService from '@/services/namespace'
|
||||
|
||||
export default {
|
||||
export default defineComponent({
|
||||
name: 'namespace-setting-archive',
|
||||
data() {
|
||||
return {
|
||||
@ -49,5 +51,5 @@ export default {
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
@ -13,7 +13,9 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
import {defineComponent} from 'vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'namespace-setting-delete',
|
||||
computed: {
|
||||
namespace() {
|
||||
@ -41,5 +43,5 @@ export default {
|
||||
this.$router.push({name: 'home'})
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
@ -56,6 +56,8 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {defineComponent} from 'vue'
|
||||
|
||||
import AsyncEditor from '@/components/input/AsyncEditor'
|
||||
|
||||
import NamespaceService from '@/services/namespace'
|
||||
@ -64,7 +66,7 @@ import Fancycheckbox from '@/components/input/fancycheckbox.vue'
|
||||
import ColorPicker from '@/components/input/colorPicker.vue'
|
||||
import CreateEdit from '@/components/misc/create-edit.vue'
|
||||
|
||||
export default {
|
||||
export default defineComponent({
|
||||
name: 'namespace-setting-edit',
|
||||
data() {
|
||||
return {
|
||||
@ -118,5 +120,5 @@ export default {
|
||||
this.$router.back()
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
@ -21,9 +21,11 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
import {defineComponent} from 'vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'namespace-setting-share',
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
Reference in New Issue
Block a user