feat:【ele】【mall】将 color-input 迁移到 mall/promotion/components 中,聚焦一点

pull/241/head
YunaiV 2025-10-25 16:04:21 +08:00
parent 2909d1c4fa
commit 3d14d00a23
4 changed files with 8 additions and 3 deletions

View File

@ -139,7 +139,7 @@ function isSameLink(link1: string, link2: string) {
/** 处理详情选择 */
function handleProductCategorySelected(id: number) {
// TODO @AI
// TODO @AIactiveAppLink
const url = new URL(activeAppLink.value.path, 'http://127.0.0.1');
// id
url.searchParams.set('id', `${id}`);

View File

@ -1,4 +1,6 @@
<script lang="ts" setup>
// TODO @AI El el-
// TODO @AI modal 使 Modal el-modal
import { ref, watch } from 'vue';
import AppLinkSelectDialog from './app-link-select-dialog.vue';

View File

@ -1,10 +1,10 @@
<script setup lang="ts">
// TODO @ diy-editor
// TODO @AI El iel-
import { computed } from 'vue';
import { PREDEFINE_COLORS } from '@vben/constants';
//
/** 颜色输入框 */
defineOptions({ name: 'ColorInput' });
const props = defineProps({
@ -13,7 +13,9 @@ const props = defineProps({
default: '',
},
});
const emit = defineEmits(['update:modelValue']);
const color = computed({
get: () => {
return props.modelValue;

View File

@ -1,2 +1,3 @@
export { default as VerticalButtonGroup } from './vertical-button-group/index.vue';
export { default as AppLinkInput } from './app-link-input/index.vue';
export { default as ColorInput } from './color-input/index.vue';