fix: lint
This commit is contained in:
@@ -15,8 +15,8 @@ import {
|
|||||||
Tooltip,
|
Tooltip,
|
||||||
} from 'ant-design-vue';
|
} from 'ant-design-vue';
|
||||||
|
|
||||||
import { DictTag } from '#/components/dict-tag';
|
|
||||||
import { getDevicePage } from '#/api/iot/device/device';
|
import { getDevicePage } from '#/api/iot/device/device';
|
||||||
|
import { DictTag } from '#/components/dict-tag';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
products: any[];
|
products: any[];
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ import {
|
|||||||
Tooltip,
|
Tooltip,
|
||||||
} from 'ant-design-vue';
|
} from 'ant-design-vue';
|
||||||
|
|
||||||
import { DictTag } from '#/components/dict-tag';
|
|
||||||
import { getProductPage } from '#/api/iot/product/product';
|
import { getProductPage } from '#/api/iot/product/product';
|
||||||
|
import { DictTag } from '#/components/dict-tag';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
categoryList: any[];
|
categoryList: any[];
|
||||||
|
|||||||
@@ -84,7 +84,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
rowConfig: {
|
rowConfig: {
|
||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
isHover: true,
|
isHover: true,
|
||||||
height: type.value === UploadType.Image ? 220 : 'auto',
|
},
|
||||||
|
cellConfig: {
|
||||||
|
height: type.value === UploadType.Image ? 220 : undefined,
|
||||||
},
|
},
|
||||||
toolbarConfig: {
|
toolbarConfig: {
|
||||||
refresh: true,
|
refresh: true,
|
||||||
@@ -101,8 +103,10 @@ async function onTabChange() {
|
|||||||
rowConfig: {
|
rowConfig: {
|
||||||
keyField: 'id',
|
keyField: 'id',
|
||||||
isHover: true,
|
isHover: true,
|
||||||
height: type.value === UploadType.Image ? 220 : 'auto',
|
|
||||||
},
|
},
|
||||||
|
cellConfig: {
|
||||||
|
height: type.value === UploadType.Image ? 220 : undefined,
|
||||||
|
}
|
||||||
});
|
});
|
||||||
await gridApi.reload();
|
await gridApi.reload();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user