こんにちは私は持っている私は、配列がthis.convensations
と出力のようなthis.venner
、 ですが、ここでidはpartner_id
(PARTNER_ID出力は、54345 54312あると呼ばれると呼ばれているthis.venner
アクセスアレイ値 - AngularJs
友人の配列、54346)
今私はthis.convensation partner_id
とthis.venner id
場合は
何か:
if (this.convensation in this.venner) {
//do something
} else {
// do something
}
私は私の質問を編集しました。あなたが私を助けることができるなら、見てください。 –