Răsfoiți Sursa

样式修改:表格添加无数据样式

xinyan 6 luni în urmă
părinte
comite
bc7d107e8a

+ 3 - 0
src/views/product-manage/comment-detail/component/NegativeLabel.vue

@@ -194,6 +194,9 @@ onMounted(() => {
                   @page-change="handlePageChange"
               />
             </template>
+						<template #empty>
+							<el-empty description="暂无数据" />
+						</template>
           </vxe-grid>
         </el-card>
       </div>

+ 3 - 0
src/views/score-statistics/components/MonthlyRating.vue

@@ -42,6 +42,9 @@
 							<span>-</span>
 						</template>
 					</template>
+					<template #empty>
+						<el-empty description="暂无数据" />
+					</template>
 				</vxe-grid>
 			</el-card>
 		</el-card>

+ 0 - 1
src/views/sku-manage/company-sku/component/ShowSkuDrawer.vue

@@ -93,7 +93,6 @@ async function initData() {
 				section: '可选部分',
 				attrItems: optionalAttrs,
 			});
-			console.log('=>(ShowEnumDrawer.vue:100) optionalAttrs', optionalAttrs);
 		}
 	}
 	attrList.value = relatedAttrs;

+ 3 - 0
src/views/sku-manage/product-attribute/component/manage-enum/index.vue

@@ -215,6 +215,9 @@ onMounted(() => {
 								@page-change="handlePageChange"
 							/>
 						</template>
+						<template #empty>
+							<el-empty description="暂无数据" />
+						</template>
 					</vxe-grid>
 				</el-card>
 			</div>