feat:【ele】【mall】diy-editor linter 修复

This commit is contained in:
YunaiV
2025-10-25 17:05:13 +08:00
parent ae345d6fb2
commit a624307532
11 changed files with 26 additions and 18 deletions

View File

@@ -14,8 +14,8 @@ import {
ElTree,
} from 'element-plus';
import { ColorInput } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { ColorInput } from '#/views/mall/promotion/components';
/**
* 组件容器属性:目前右边部分

View File

@@ -17,10 +17,9 @@ import {
} from 'element-plus';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import { Draggable } from '#/views/mall/promotion/components';
import UploadFile from '#/components/upload/file-upload.vue';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput } from '#/views/mall/promotion/components';
import { AppLinkInput, Draggable } from '#/views/mall/promotion/components';
// 轮播图属性面板
defineOptions({ name: 'CarouselProperty' });

View File

@@ -10,9 +10,8 @@ import {
ElTooltip,
} from 'element-plus';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput } from '#/views/mall/promotion/components';
import { AppLinkInput, Draggable } from '#/views/mall/promotion/components';
// 弹窗广告属性面板
defineOptions({ name: 'PopoverProperty' });

View File

@@ -11,10 +11,10 @@ import {
ElSwitch,
} from 'element-plus';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import {
AppLinkInput,
Draggable,
InputWithColor,
} from '#/views/mall/promotion/components';

View File

@@ -7,9 +7,11 @@ import { useVModel } from '@vueuse/core';
import { ElForm, ElFormItem, ElSlider, ElText } from 'element-plus';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import { MagicCubeEditor } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput } from '#/views/mall/promotion/components';
import {
AppLinkInput,
MagicCubeEditor,
} from '#/views/mall/promotion/components';
/** 广告魔方属性面板 */
defineOptions({ name: 'MagicCubeProperty' });

View File

@@ -12,9 +12,8 @@ import {
} from 'element-plus';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput } from '#/views/mall/promotion/components';
import { AppLinkInput, Draggable } from '#/views/mall/promotion/components';
import { EMPTY_MENU_GRID_ITEM_PROPERTY } from './config';

View File

@@ -5,10 +5,10 @@ import { useVModel } from '@vueuse/core';
import { ElForm, ElFormItem, ElText } from 'element-plus';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import {
AppLinkInput,
Draggable,
InputWithColor,
} from '#/views/mall/promotion/components';

View File

@@ -14,11 +14,11 @@ import {
} from 'element-plus';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import {
AppLinkInput,
ColorInput,
Draggable,
InputWithColor,
} from '#/views/mall/promotion/components';

View File

@@ -15,9 +15,12 @@ import {
} from 'element-plus';
import appNavBarMp from '#/assets/imgs/diy/app-nav-bar-mp.png';
import { MagicCubeEditor } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
import {
AppLinkInput,
ColorInput,
MagicCubeEditor,
} from '#/views/mall/promotion/components';
// 导航栏属性面板
defineOptions({ name: 'NavigationBarCellProperty' });

View File

@@ -5,9 +5,12 @@ import { useVModel } from '@vueuse/core';
import { ElCard, ElForm, ElFormItem, ElInput } from 'element-plus';
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
import {
AppLinkInput,
ColorInput,
Draggable,
} from '#/views/mall/promotion/components';
// 通知栏属性面板
defineOptions({ name: 'NoticeBarProperty' });

View File

@@ -15,9 +15,12 @@ import {
ElText,
} from 'element-plus';
import { Draggable } from '#/views/mall/promotion/components';
import UploadImg from '#/components/upload/image-upload.vue';
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
import {
AppLinkInput,
ColorInput,
Draggable,
} from '#/views/mall/promotion/components';
import { component, THEME_LIST } from './config';
// 底部导航栏