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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts" setup>
|
||||||
import { defineComponent } from 'vue';
|
withDefaults(defineProps<{
|
||||||
|
warn?: boolean;
|
||||||
export default defineComponent({
|
}>(), {
|
||||||
props: {
|
warn: false,
|
||||||
warn: {
|
|
||||||
type: Boolean,
|
|
||||||
required: false,
|
|
||||||
default: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
};
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue