Skip to content

Commit a0ca17d

Browse files
committed
fix(assistants): There is no distinction between assistant style settings. After setting one, the style of other assistants will also change when you check them.
1 parent 2a5f1b6 commit a0ca17d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/views/system/embedded/SetUi.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const defaultSqlBotForm = reactive<SqlBotForm>({
7979
const sqlBotForm = reactive<SqlBotForm>(cloneDeep(defaultSqlBotForm)) as { [key: string]: any }
8080
let rawData = {} as { [key: string]: any }
8181
const init = () => {
82+
Object.assign(sqlBotForm, cloneDeep(defaultSqlBotForm))
8283
fileList.value = []
8384
logo.value = rawData.logo
8485
floatIcon.value = rawData.float_icon

0 commit comments

Comments
 (0)