Eslint : sap-no-ui5-prop-warning
问题 I want to remove the ESLint warnings. I got sap-no-ui5-prop-warning because I used this.getModel().oData["ProductSet('" + sId+ "')"].Matricule . But when I use the function getData() , it returns null. Do you have a suggestion how to fix this? 回答1: Look at the docs. It's simple. /* eslint-disable sap-no-ui5base-prop */ ...some code false positives /* eslint-enable sap-no-ui5base-prop */ Btw getData() for ODataModel is deprecated. You can use getProperty("/") instead. It'll give you the root