修改链接字段置空处理逻辑

v1.1.0
于肖磊 2024-11-13 18:54:26 +08:00
parent 9f37857248
commit 6be8e49556
3 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ const icon_change = (key: string) => {
};
const link_change = (key: string) => {
if (key == '2') {
form.value.icon_link = '';
form.value.icon_link = {};
} else {
form.value.data_source_link = '';
}

View File

@ -112,7 +112,7 @@ const img_src_change = (key: string) => {
//
const img_link_change = (key: string) => {
if (key == '2') {
form.value.link = '';
form.value.link = {};
} else {
form.value.data_source_link = '';
}

View File

@ -167,7 +167,7 @@ const text_change = (key: string) => {
//
const text_link_change = (key: string) => {
if (key == '2') {
form.value.text_link = '';
form.value.text_link = {};
} else {
form.value.data_source_link = '';
}