✨(component): 新增 table 组件 columns 配置 totalRow 属性, 用于支持列统计
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
auto as followSystemColorScheme,
|
||||
setFetchMethod,
|
||||
} from "@umijs/ssr-darkreader";
|
||||
import { v4 as uuidv4 } from "../utils/guidUtil";
|
||||
|
||||
export interface LayConfigProviderProps {
|
||||
locale?: string;
|
||||
@@ -29,6 +30,8 @@ const props = withDefaults(defineProps<LayConfigProviderProps>(), {
|
||||
theme: "light",
|
||||
});
|
||||
|
||||
const id = uuidv4();
|
||||
|
||||
const { locale, setLocaleMessage, mergeLocaleMessage } = useI18n();
|
||||
|
||||
const ignoreInlineStyle = [
|
||||
@@ -130,5 +133,7 @@ watch(
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<slot></slot>
|
||||
<div :id="id">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user