parent
e2cd246b21
commit
6eeedf0a95
|
|
@ -85,6 +85,7 @@ const app = getCurrentInstance();
|
|||
const props = defineProps({});
|
||||
const modelValue = defineModel({ type: Object as PropType<hotData>, default: {} });
|
||||
const dialog_visible = defineModel('visibleDialog', { type: Boolean, default: false });
|
||||
|
||||
const hot_list = ref<hotData>({
|
||||
img: '',
|
||||
img_height: 1,
|
||||
|
|
@ -254,7 +255,6 @@ const open_hot_event = () => {
|
|||
if (modelValue.value.img.length > 0) {
|
||||
dialog_visible.value = true;
|
||||
hot_list.value = cloneDeep(modelValue.value);
|
||||
console.log(1);
|
||||
} else {
|
||||
ElMessage({
|
||||
type: 'warning',
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<template v-else-if="value.key == 'img-magic'">
|
||||
<model-img-magic-setting :type="radio" :value="value.com_data"></model-img-magic-setting>
|
||||
</template>
|
||||
<!-- 自定义 -->
|
||||
<!-- 热区 -->
|
||||
<template v-else-if="value.key == 'hot-zone'">
|
||||
<model-hot-zone-setting :type="radio" :value="value.com_data"></model-hot-zone-setting>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue