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 36 labelWidth: 80,
37 37 layout: 'inline',
38 38 submitButtonOptions: {
39   - loading: loading,
  39 + loading: loading as unknown as boolean,
40 40 },
41 41 submitFunc: async () => {
42 42 try {
... ... @@ -165,13 +165,6 @@
165 165 const boardId = encode(record.id);
166 166 const boardName = encode(record.name);
167 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 168 } else createMessage.warning('没有权限');
176 169 };
177 170
... ... @@ -247,16 +240,19 @@
247 240 </Statistic>
248 241 </div>
249 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 244 <div>
252 245 <span>
253 246 {{ item.viewType === ViewType.PRIVATE_VIEW ? '私有看板' : '公共看板' }}
254 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 252 <Tooltip title="点击复制分享链接">
257 253 <ShareAltOutlined class="ml-2" @click.stop="handleCopyShareUrl(item)" />
258 254 </Tooltip>
259   - </span> -->
  255 + </span>
260 256 </div>
261 257 <div>{{ item.createTime }}</div>
262 258 </div>
... ... @@ -278,15 +274,17 @@
278 274 .data-card:deep(.ant-card-head-title) {
279 275 padding: 0;
280 276 }
  277 +
281 278 .data-card:deep(.ant-card-extra) {
282 279 padding: 0;
283 280 }
  281 +
284 282 .data-card:deep(.ant-card-body) {
285 283 padding: 20px;
286 284 }
287 285
288 286 .data-card__info {
289   - color: #666666;
  287 + color: #666;
290 288
291 289 &::before {
292 290 content: '';
... ... @@ -299,8 +297,10 @@
299 297
300 298 .search-form {
301 299 width: 100%;
  300 +
302 301 form {
303 302 width: 100%;
  303 +
304 304 :deep(.ant-row) {
305 305 width: 100%;
306 306 }
... ...