forked from FoundKeyGang/FoundKey
client: refactor info.vue to composition api
This commit is contained in:
parent
058d414fff
commit
c469a17623
1 changed files with 5 additions and 15 deletions
|
@ -6,21 +6,11 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
props: {
|
||||
warn: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
};
|
||||
},
|
||||
<script lang="ts" setup>
|
||||
withDefaults(defineProps<{
|
||||
warn?: boolean;
|
||||
}>(), {
|
||||
warn: false,
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue