feat: create image, intstance list, endpoint list

This commit is contained in:
Qiuxia Fan
2022-01-04 15:57:15 +08:00
parent 5ac55b5e09
commit 51932ca877
13 changed files with 259 additions and 10 deletions

View File

@@ -0,0 +1,55 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="date" label="Date" width="180" />
<el-table-column prop="name" label="Name" width="180" />
</el-table>
</template>
<script setup lang="ts">
import { ElTable, ElTableColumn } from "element-plus";
import { defineProps } from "vue";
import type { PropType } from "vue";
defineProps({
data: {
type: Array as PropType<{ label: string; value: string }[]>,
default: () => [],
},
theme: { type: String, default: "" },
});
const tableData = [
{
date: "2016-05-03",
name: "Tom",
address: "No. 189, Grove St, Los Angeles",
},
{
date: "2016-05-02",
name: "Tom",
address: "No. 189, Grove St, Los Angeles",
},
{
date: "2016-05-04",
name: "Tom",
address: "No. 189, Grove St, Los Angeles",
},
{
date: "2016-05-01",
name: "Tom",
address: "No. 189, Grove St, Los Angeles",
},
];
</script>