Compare commits
No commits in common. "b223feb441242c1e89d8a4504cabbb14e1f0f861" and "c38944e9485032e0f6144b6e030db9adb78bd498" have entirely different histories.
b223feb441
...
c38944e948
|
@ -1243,7 +1243,7 @@ func (b *browserService) SetKeyValue(param types.SetKeyParam) (resp types.JSResp
|
|||
if len(param.Format) <= 0 {
|
||||
param.Format = types.FORMAT_RAW
|
||||
}
|
||||
var savedValue any
|
||||
var savedValue string
|
||||
switch strings.ToLower(param.KeyType) {
|
||||
case "string":
|
||||
if str, ok := param.Value.(string); !ok {
|
||||
|
@ -1352,11 +1352,9 @@ func (b *browserService) SetKeyValue(param types.SetKeyParam) (resp types.JSResp
|
|||
return
|
||||
}
|
||||
resp.Success = true
|
||||
respData := map[string]any{}
|
||||
if val, ok := savedValue.(string); ok {
|
||||
respData["value"] = strutil.EncodeRedisKey(val)
|
||||
resp.Data = map[string]any{
|
||||
"value": strutil.EncodeRedisKey(savedValue),
|
||||
}
|
||||
resp.Data = respData
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<key>CFBundleIconFile</key>
|
||||
<string>iconfile</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>11.7.0</string>
|
||||
<string>10.13.0</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>true</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<key>CFBundleIconFile</key>
|
||||
<string>iconfile</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>11.7.0</string>
|
||||
<string>10.13.0</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>true</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
|
Loading…
Reference in New Issue