...
|
...
|
@@ -869,7 +869,7 @@ func CheckChanceDifferent(header *protocol.RequestHeader, chance *models.Chance, |
|
|
if src[i].Value != v.Value {
|
|
|
isDiff = true
|
|
|
}
|
|
|
if len(src[i].Data) > 0 {
|
|
|
if len(src[i].Data) > 0 || len(v.Data) > 0 {
|
|
|
if !reflect.DeepEqual(src[i].Data, v.Data) {
|
|
|
isDiff = true
|
|
|
}
|
...
|
...
|
@@ -881,7 +881,7 @@ func CheckChanceDifferent(header *protocol.RequestHeader, chance *models.Chance, |
|
|
|
|
|
if isDiff {
|
|
|
c := protocol.ReviseContent{
|
|
|
Content: fmt.Sprintf("将“%v”由“%v”改为 “%v”", src[i].Label, srcValue, src[i].Value),
|
|
|
Content: fmt.Sprintf("将“%v”由“%v”改为“%v”", src[i].Label, srcValue, src[i].Value),
|
|
|
Label: src[i].Label,
|
|
|
InputType: src[i].InputType,
|
|
|
Data: src[i].Data,
|
...
|
...
|
|