mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 00:53:54 +08:00
优化了“新增模型配置”
This commit is contained in:
@@ -315,11 +315,12 @@ export default {
|
||||
handleAddConfirm(newModel) {
|
||||
const params = {
|
||||
modelType: this.activeTab,
|
||||
provideCode: newModel.supplier,
|
||||
provideCode: newModel.provideCode,
|
||||
formData: {
|
||||
...newModel,
|
||||
isDefault: newModel.isDefault ? 1 : 0,
|
||||
isEnabled: newModel.isEnabled ? 1 : 0
|
||||
isEnabled: newModel.isEnabled ? 1 : 0,
|
||||
configJson: newModel.configJson
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user