feat: use defineComponent wrapper
This commit is contained in:
parent
a3329f1b42
commit
ba9f69344a
75 changed files with 309 additions and 236 deletions
|
|
@ -152,6 +152,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {defineComponent} from 'vue'
|
||||
|
||||
import AsyncEditor from '@/components/input/AsyncEditor'
|
||||
|
||||
import TaskCommentService from '../../../services/taskComment'
|
||||
|
|
@ -159,7 +161,7 @@ import TaskCommentModel from '../../../models/taskComment'
|
|||
import {uploadFile} from '@/helpers/attachments'
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
export default defineComponent({
|
||||
name: 'comments',
|
||||
components: {
|
||||
Editor: AsyncEditor,
|
||||
|
|
@ -302,7 +304,7 @@ export default {
|
|||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
|
|||
Reference in a new issue