From 7cb826cf1fdf7f104261c9fad3edc587ea29caef Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Tue, 21 Feb 2023 07:33:57 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E7=9A=84=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dong Xia --- src/pages/repository/source/index.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/pages/repository/source/index.vue b/src/pages/repository/source/index.vue index f9cbead..0ab10e1 100644 --- a/src/pages/repository/source/index.vue +++ b/src/pages/repository/source/index.vue @@ -169,6 +169,21 @@ export default { default:callback() } } + return{ + planList: [], + sourceList: [], + columns: [ + { title: '软件源模板名称', dataIndex: 'planName', ellipsis: true, scopedSlots: { customRender: 'planName' }}, + { title: '注释', dataIndex: 'annotation', ellipsis: true, scopedSlots: { customRender: 'annotation' }}, + { title: '操作', width: '250px', scopedSlots: { customRender: 'option' }, align: 'center' } + ], + Sourcecolumns: [ + { title: '软件源类型', dataIndex: 'type', ellipsis: true, scopedSlots: { customRender: 'type' }}, + { title: '软件源地址', dataIndex: 'url', ellipsis: true, scopedSlots: { customRender: 'url' }}, + { title: '版本代码', dataIndex: 'codename', ellipsis: true, scopedSlots: { customRender: 'codename' }}, + { title: '其它信息', dataIndex: 'remarks', ellipsis: true, scopedSlots: { customRender: 'remarks' }} + ], + } } } \ No newline at end of file -- Gitee