2020-11-29 11:06:35 +02:00
|
|
|
<template>
|
|
|
|
<FormBase>
|
2021-01-08 14:43:56 +02:00
|
|
|
<FormButton @click="error()">error test</FormButton>
|
2020-11-29 11:06:35 +02:00
|
|
|
</FormBase>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineAsyncComponent, defineComponent } from 'vue';
|
2021-11-11 19:02:25 +02:00
|
|
|
import FormSwitch from '@/components/form/switch.vue';
|
|
|
|
import FormSelect from '@/components/form/select.vue';
|
|
|
|
import FormLink from '@/components/debobigego/link.vue';
|
|
|
|
import FormBase from '@/components/debobigego/base.vue';
|
|
|
|
import FormGroup from '@/components/debobigego/group.vue';
|
|
|
|
import FormButton from '@/components/debobigego/button.vue';
|
|
|
|
import FormKeyValueView from '@/components/debobigego/key-value-view.vue';
|
|
|
|
import * as os from '@/os';
|
|
|
|
import * as symbols from '@/symbols';
|
2020-11-29 11:06:35 +02:00
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
components: {
|
|
|
|
FormBase,
|
|
|
|
FormSelect,
|
|
|
|
FormSwitch,
|
|
|
|
FormButton,
|
|
|
|
FormLink,
|
|
|
|
FormGroup,
|
|
|
|
FormKeyValueView,
|
|
|
|
},
|
|
|
|
|
|
|
|
emits: ['info'],
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
2021-04-10 06:54:12 +03:00
|
|
|
[symbols.PAGE_INFO]: {
|
2020-12-26 03:47:36 +02:00
|
|
|
title: this.$ts.experimentalFeatures,
|
2021-04-20 17:22:59 +03:00
|
|
|
icon: 'fas fa-flask'
|
2020-11-29 11:06:35 +02:00
|
|
|
},
|
|
|
|
stats: null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
2021-04-10 06:54:12 +03:00
|
|
|
this.$emit('info', this[symbols.PAGE_INFO]);
|
2020-11-29 11:06:35 +02:00
|
|
|
},
|
2021-01-08 14:43:56 +02:00
|
|
|
|
|
|
|
methods: {
|
|
|
|
error() {
|
|
|
|
throw new Error('Test error');
|
|
|
|
}
|
|
|
|
}
|
2020-11-29 11:06:35 +02:00
|
|
|
});
|
|
|
|
</script>
|