添加表格
This commit is contained in:
parent
9c7be39d09
commit
91f99c41d5
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user