isEqual ApprovaeDetail
This commit is contained in:
parent
9cfc71d488
commit
1f3492205d
|
@ -90,8 +90,15 @@ type AppApprove struct {
|
|||
func (d *ApproveDetail) GetValue(title string) string {
|
||||
|
||||
for _, content := range d.ApplyData.Contents {
|
||||
key := content.Title[0].Text
|
||||
if key != title {
|
||||
|
||||
isEqual := false
|
||||
for _, ti := range content.Title {
|
||||
if ti.Text == title {
|
||||
isEqual = true
|
||||
}
|
||||
}
|
||||
|
||||
if !isEqual {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue