mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 10:57:10 +08:00 
			
		
		
		
	fix(GiCell): 修复 GiCellTags 组件的空数据问题
- 在渲染标签之前增加对 data 的非空检查,避免潜在的运行时错误 - 优化了组件的健壮性,确保在 data 为 null 或 undefined时不会抛出错误
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| <template> | ||||
|   <a-overflow-list v-if="data.length"> | ||||
|   <a-overflow-list v-if="data && data.length"> | ||||
|     <a-tag v-for="(item, index) in data" :key="index" size="small"> | ||||
|       {{ item }} | ||||
|     </a-tag> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 GXSZone
					GXSZone