添加表格

This commit is contained in:
05412 2024-07-31 18:36:40 +08:00
parent 9c7be39d09
commit 91f99c41d5

View File

@ -34,11 +34,9 @@ async function getSurl() {
<template>
<v-btn @click="getSurl">get</v-btn>
<ul>
<li v-for="url in urls">
<a :href="url.value">{{url.key}}: {{ url.value }}</a>
</li>
</ul>
<v-data-table :items="urls"
:headers="[{title: 'KEY', value: 'key', key: 'key'}, {title: 'URL', value: 'value', key: 'value'}]">
</v-data-table>
</template>
<style scoped>