From bf288c266fc43e114616250e55652f7509e77bc8 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 19 十一月 2021 17:55:29 +0800
Subject: [PATCH] 调整编辑器大小

---
 src/views/project/index.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/views/project/index.vue b/src/views/project/index.vue
index 6ebaf36..2746022 100644
--- a/src/views/project/index.vue
+++ b/src/views/project/index.vue
@@ -81,7 +81,10 @@
             </el-table-column>
             <el-table-column width="300">
               <template #default="scope">
-                <el-button size="small" @click="handlePublish(scope.row)"
+                <el-button
+                  v-show="props.row.type == 'os'"
+                  size="small"
+                  @click="handlePublish(scope.row)"
                   >鍙戝竷</el-button
                 >
                 <el-button size="small" @click="handleDownload(scope.row)"
@@ -99,18 +102,20 @@
         </template>
       </el-table-column>
       <!-- <el-table-column show-overflow-tooltip type="selection" width="55"></el-table-column> -->
-      <el-table-column show-overflow-tooltip label="搴忓彿" width="95">
+      <el-table-column show-overflow-tooltip label="搴忓彿" width="50">
         <template #default="scope">{{ scope.$index + 1 }}</template>
       </el-table-column>
       <el-table-column
         show-overflow-tooltip
         prop="name"
         label="椤圭洰鍚嶇О"
+        width="150"
       ></el-table-column>
       <el-table-column
         show-overflow-tooltip
         prop="srcUrl"
         label="椤圭洰鍦板潃"
+        width="500"
       ></el-table-column>
       <el-table-column show-overflow-tooltip prop="type" label="绫诲瀷">
         <template #default="{ row }">

--
Gitblit v1.8.0