iview 表格默认选中某一项,且置灰。
// tableData为表格行数据,把第一行默认选中且置灰
this.tableData[0]._checked = true;
this.tableData[0]._disabled = true;
// tableData为表格行数据,把第一行默认选中且置灰
this.tableData[0]._checked = true;
this.tableData[0]._disabled = true;
1.使用axios 安裝 npm install axios --save 使用 https://githu