动态绑定input的readonly属性. 1 <inpu :readonly="status ? false : 'readonly'">. status 为false时添加readonly 属性,只读,false不要加引号!
確定! 回上一頁