我在柏树中的主张无效
customView.getViewTreeObserver().addOnGlobalLayoutListener(
new OnGlobalLayoutListener(){
@Override
public void onGlobalLayout() {
mHeight = customView.getHeight();
customView.getViewTreeObserver().removeOnGlobalLayoutListener( this );
customView.setVisibility( View.GONE );
}
});
我也尝试
//Set Value Profit Share
cy.get('#vlProfitShare').type(500);
cy.wait(500);
//Assertion Value Profit Share
cy.get('#vlProfitShare').should('contain',500);
柏树中的错误
//Assertion Value Profit Share
cy.get('input#vlProfitShare.form-control').should('contain',500);