AnotherRedisDesktopManager icon indicating copy to clipboard operation
AnotherRedisDesktopManager copied to clipboard

Protobuf无法进行编辑

Open CZdhong opened this issue 4 months ago • 6 comments

对于存在int型的proto,通过.proto文件进行解析然后对数据编辑后,会因为数据类型问题无法保存。

Image

CZdhong avatar Aug 07 '25 08:08 CZdhong

能给value截个图么

qishibo avatar Aug 10 '25 08:08 qishibo

这是没选proto文件时的

Image

点击保存会提示要选择proto文件 Image

选择后的数据如下

Image

保存时就会因为有int型而报错

CZdhong avatar Aug 11 '25 01:08 CZdhong

不过看起来你这里都是字符串的,去掉引号再保存试试呢

qishibo avatar Oct 28 '25 01:10 qishibo

去掉引号再保存可以成功,但这样操作修改数据有点麻烦,有没有可能整合到保存功能里面去

CZdhong avatar Oct 28 '25 09:10 CZdhong

原始数据的StartTime是int类型,但展示的时候变成字符串了,所以导致的保存失败么

qishibo avatar Oct 29 '25 01:10 qishibo

应该是,所以将int类型数据的引号去掉就可以正常保存了

CZdhong avatar Oct 29 '25 01:10 CZdhong