Merge pull request #11807 from dataease/pr@dev-v2@refactor_rich-text

fix(图表): 修复富文本空值处理输入框输入内容后回车导致页面强制刷新问题
This commit is contained in:
王嘉豪 2024-08-28 12:50:16 +08:00 committed by GitHub
commit 00688d5f38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,7 +100,7 @@ onMounted(() => {
<template>
<div @keydown.stop @keyup.stop style="width: 100%">
<el-form ref="functionForm" :model="state.functionForm" label-position="top">
<el-form ref="functionForm" :model="state.functionForm" label-position="top" @submit.prevent>
<div v-if="showProperty('slider')">
<el-form-item class="form-item form-item-checkbox" :class="'form-item-' + themes">
<el-checkbox
@ -205,6 +205,7 @@ onMounted(() => {
</el-form-item>
<el-form-item>
<el-input
:effect="themes"
v-if="state.functionForm.emptyDataStrategy === 'custom'"
v-model="state.functionForm['emptyDataCustomValue']"
class="value-item"