mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
perf: optimize the size of the first screen
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
/*
|
||||
* @description:
|
||||
* @author: wenbin.chen
|
||||
* @Date: 2020-05-12 13:20:26
|
||||
* @LastEditors: vben
|
||||
* @LastEditTime: 2020-10-07 14:52:34
|
||||
* @email: 190848757@qq.com
|
||||
*/
|
||||
|
||||
import { Ref, ref, watch, unref } from 'vue';
|
||||
import { BasicTableProps } from '../types/table';
|
||||
|
||||
|
@@ -133,7 +133,7 @@ export const basicProps = {
|
||||
},
|
||||
bordered: {
|
||||
type: Boolean as PropType<boolean>,
|
||||
default: true,
|
||||
default: false,
|
||||
},
|
||||
pagination: {
|
||||
type: [Object, Boolean] as PropType<PaginationProps | boolean>,
|
||||
|
@@ -1,11 +1,12 @@
|
||||
import Icon from './Icon/index';
|
||||
import { BasicHelp, BasicTitle } from './Basic';
|
||||
import Button from './Button/index.vue';
|
||||
import { App } from 'vue';
|
||||
import { Button as AntButton } from 'ant-design-vue';
|
||||
import { getApp } from '/@/useApp';
|
||||
|
||||
const compList = [Icon, BasicHelp, BasicTitle, Button];
|
||||
export function registerGlobComp(app: App<Element>) {
|
||||
const compList = [Icon, BasicHelp, BasicTitle, Button, AntButton.Group];
|
||||
export function registerGlobComp() {
|
||||
compList.forEach((comp: any) => {
|
||||
app.component(comp.name, comp);
|
||||
getApp().component(comp.name, comp);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user