修改显示

v1.0.0
于肖磊 2024-09-06 11:54:58 +08:00
parent fe3b1395c9
commit 9397603f9d
2 changed files with 5 additions and 2 deletions

View File

@ -166,6 +166,7 @@ const changeDataSource = (key: string) => {
const url_value_dialog_call_back = (item: any[]) => {
if (item.length > 0) {
form.data_source_content = item[0];
form.data_source_content_id = item[0].id;
} else {
form.data_source_content = {};
}

View File

@ -5,7 +5,8 @@ interface defaultSearch {
height: number;
img_key: string;
data_source: string;
data_source_content: string[];
data_source_content_value: string;
data_source_content: object;
custom_list: string[];
};
style: {
@ -16,7 +17,8 @@ const defaultSearch: defaultSearch = {
content: {
height: 390,
img_key: '',
data_source_content: [],
data_source_content_value: '',
data_source_content: {},
data_source:'',
custom_list: []
},