fix: codegen pre #I6R4O4

pull/4/MERGE
xingyu 2023-03-28 22:52:07 +08:00
parent 9d7298598a
commit 0c5e6e9e2c
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template>
<BasicModal v-bind="$attrs" :width="1000" @register="registerModal" title="预览代码">
<BasicModal v-bind="$attrs" :defaultFullscreen="true" @register="registerModal" title="预览代码">
<div class="flex">
<Card class="w-1/3 w-full">
<Card class="w-1/4">
<BasicTree
title="文件夹列表"
toolbar
@ -12,7 +12,7 @@
@select="handleSelect"
/>
</Card>
<Card class="w-2/3 w-full">
<Card class="w-3/4">
<Tabs v-model:activeKey="activeKey">
<TabPane v-for="item in previewCodes" :key="item.filePath" :tab="item.filePath.substring(item.filePath.lastIndexOf('/') + 1)">
<a-button type="link" style="float: right" @click="copy(item.code)"></a-button>