File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
core/init/migration/migrations Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ var InitSetting = &gormigrate.Migration{
147147 if err := tx .Create (& model.Setting {Key : "NoAuthSetting" , Value : "200" }).Error ; err != nil {
148148 return err
149149 }
150- if err := tx .Create (& model.Setting {Key : "ApiInterfaceStatus" , Value : "disable" }).Error ; err != nil {
150+ if err := tx .Create (& model.Setting {Key : "ApiInterfaceStatus" , Value : constant . StatusDisable }).Error ; err != nil {
151151 return err
152152 }
153153 if err := tx .Create (& model.Setting {Key : "ApiKey" , Value : "" }).Error ; err != nil {
@@ -163,13 +163,13 @@ var InitSetting = &gormigrate.Migration{
163163 return err
164164 }
165165
166- if err := tx .Create (& model.Setting {Key : "UninstallDeleteImage" , Value : "Disable" }).Error ; err != nil {
166+ if err := tx .Create (& model.Setting {Key : "UninstallDeleteImage" , Value : constant . StatusDisable }).Error ; err != nil {
167167 return err
168168 }
169169 if err := tx .Create (& model.Setting {Key : "UpgradeBackup" , Value : "Enable" }).Error ; err != nil {
170170 return err
171171 }
172- if err := tx .Create (& model.Setting {Key : "UninstallDeleteBackup" , Value : "Disable" }).Error ; err != nil {
172+ if err := tx .Create (& model.Setting {Key : "UninstallDeleteBackup" , Value : constant . StatusDisable }).Error ; err != nil {
173173 return err
174174 }
175175 return nil
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ const acceptParams = (params: DialogProps): void => {
177177 detailName .value = params .detailName ;
178178 backupVisible .value = true ;
179179 status .value = params .status ;
180+ secret .value = ' ' ;
180181 search ();
181182};
182183const handleClose = () => {
@@ -312,6 +313,7 @@ const onBackup = async () => {
312313};
313314
314315const onRecover = async (row : Backup .RecordInfo ) => {
316+ secret .value = ' ' ;
315317 isBackup .value = false ;
316318 if (type .value !== ' app' && type .value !== ' website' ) {
317319 ElMessageBox .confirm (
Original file line number Diff line number Diff line change 8787 :label =" $t('commons.table.name')"
8888 fix
8989 prop =" primaryDomain"
90- min-width =" 150px "
90+ min-width =" 250px "
9191 sortable
9292 show-overflow-tooltip
9393 >
You can’t perform that action at this time.
0 commit comments