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