添加表格

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> <template>
<v-btn @click="getSurl">get</v-btn> <v-btn @click="getSurl">get</v-btn>
<ul> <v-data-table :items="urls"
<li v-for="url in urls"> :headers="[{title: 'KEY', value: 'key', key: 'key'}, {title: 'URL', value: 'value', key: 'value'}]">
<a :href="url.value">{{url.key}}: {{ url.value }}</a> </v-data-table>
</li>
</ul>
</template> </template>
<style scoped> <style scoped>