Commit 49db5844ccaddc2815a85aa6b6495a4f895a91cc

Authored by ww
1 parent 221db713

perf: types error in code

Showing 1 changed file with 12 additions and 12 deletions
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 labelWidth: 80, 36 labelWidth: 80,
37 layout: 'inline', 37 layout: 'inline',
38 submitButtonOptions: { 38 submitButtonOptions: {
39 - loading: loading, 39 + loading: loading as unknown as boolean,
40 }, 40 },
41 submitFunc: async () => { 41 submitFunc: async () => {
42 try { 42 try {
@@ -165,13 +165,6 @@ @@ -165,13 +165,6 @@
165 const boardId = encode(record.id); 165 const boardId = encode(record.id);
166 const boardName = encode(record.name); 166 const boardName = encode(record.name);
167 router.push(`/visual/board/detail/${boardId}/${boardName}`); 167 router.push(`/visual/board/detail/${boardId}/${boardName}`);
168 - // router.push({  
169 - // name: 'visualBoardDetail'  
170 - // params: {  
171 - // boardId: encode(record.id),  
172 - // boardName: encode(record.name),  
173 - // },  
174 - // });  
175 } else createMessage.warning('没有权限'); 168 } else createMessage.warning('没有权限');
176 }; 169 };
177 170
@@ -247,16 +240,19 @@ @@ -247,16 +240,19 @@
247 </Statistic> 240 </Statistic>
248 </div> 241 </div>
249 </div> 242 </div>
250 - <div class="flex justify-between mt-4 text-sm" style="color: #999999"> 243 + <div class="flex justify-between mt-4 text-sm" style="color: #999">
251 <div> 244 <div>
252 <span> 245 <span>
253 {{ item.viewType === ViewType.PRIVATE_VIEW ? '私有看板' : '公共看板' }} 246 {{ item.viewType === ViewType.PRIVATE_VIEW ? '私有看板' : '公共看板' }}
254 </span> 247 </span>
255 - <!-- <span v-if="item.viewType === ViewType.PUBLIC_VIEW"> 248 + <span
  249 + style="display: none"
  250 + v-if="item.viewType === ViewType.PUBLIC_VIEW && false"
  251 + >
256 <Tooltip title="点击复制分享链接"> 252 <Tooltip title="点击复制分享链接">
257 <ShareAltOutlined class="ml-2" @click.stop="handleCopyShareUrl(item)" /> 253 <ShareAltOutlined class="ml-2" @click.stop="handleCopyShareUrl(item)" />
258 </Tooltip> 254 </Tooltip>
259 - </span> --> 255 + </span>
260 </div> 256 </div>
261 <div>{{ item.createTime }}</div> 257 <div>{{ item.createTime }}</div>
262 </div> 258 </div>
@@ -278,15 +274,17 @@ @@ -278,15 +274,17 @@
278 .data-card:deep(.ant-card-head-title) { 274 .data-card:deep(.ant-card-head-title) {
279 padding: 0; 275 padding: 0;
280 } 276 }
  277 +
281 .data-card:deep(.ant-card-extra) { 278 .data-card:deep(.ant-card-extra) {
282 padding: 0; 279 padding: 0;
283 } 280 }
  281 +
284 .data-card:deep(.ant-card-body) { 282 .data-card:deep(.ant-card-body) {
285 padding: 20px; 283 padding: 20px;
286 } 284 }
287 285
288 .data-card__info { 286 .data-card__info {
289 - color: #666666; 287 + color: #666;
290 288
291 &::before { 289 &::before {
292 content: ''; 290 content: '';
@@ -299,8 +297,10 @@ @@ -299,8 +297,10 @@
299 297
300 .search-form { 298 .search-form {
301 width: 100%; 299 width: 100%;
  300 +
302 form { 301 form {
303 width: 100%; 302 width: 100%;
  303 +
304 :deep(.ant-row) { 304 :deep(.ant-row) {
305 width: 100%; 305 width: 100%;
306 } 306 }