ng -style="{ width: getTheValue() }". 但为了避免在控制器端具有此功能,我更愿意做这样的事情: ng-style="{ width: myObject.value == 'ok' ?
確定! 回上一頁