rename quick to util
This commit is contained in:
25
nginx/vue/src/components/util/LinkTable.vue
Normal file
25
nginx/vue/src/components/util/LinkTable.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<script setup>
|
||||
import { computed } from "vue";
|
||||
|
||||
const props = defineProps({
|
||||
linkArr: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
|
||||
const keys = ["name", "link"];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<a
|
||||
class="bdr-2 bg-bg_primary"
|
||||
v-for="(row, rowIndex) in linkArr"
|
||||
:key="rowIndex"
|
||||
:href="row.link"
|
||||
>
|
||||
<p>
|
||||
{{ row.name }}
|
||||
</p>
|
||||
</a>
|
||||
</template>
|
||||
Reference in New Issue
Block a user