refactor: ele DocAlert 样式优化和 antd 的保持一致
							parent
							
								
									bf44d97e0b
								
							
						
					
					
						commit
						64dd603dbb
					
				|  | @ -23,16 +23,12 @@ const goToUrl = () => { | |||
| }; | ||||
| </script> | ||||
| 
 | ||||
| <!-- TODO @puhui999:样式有点问题,间隔没了。可以看下 antd 版本的例子哈 --> | ||||
| <template> | ||||
|   <ElAlert | ||||
|     v-if="isDocAlertEnable()" | ||||
|     type="info" | ||||
|     :closable="false" | ||||
|     class="mb-2 rounded" | ||||
|   > | ||||
|     <ElLink type="primary" @click="goToUrl"> | ||||
|       【{{ title }}】文档地址:{{ url }} | ||||
|     </ElLink> | ||||
|   </ElAlert> | ||||
|   <div class="mb-2 rounded"> | ||||
|     <ElAlert v-if="isDocAlertEnable()" type="info" :closable="false" show-icon> | ||||
|       <ElLink type="primary" @click="goToUrl"> | ||||
|         【{{ title }}】文档地址:{{ url }} | ||||
|       </ElLink> | ||||
|     </ElAlert> | ||||
|   </div> | ||||
| </template> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 puhui999
						puhui999