簡述scope模式,slot、slot-scope與v-slot替換

簡述scope模式,slot、slot-scope與v-slot替換

「slot、slot-scope與v-slot替換 」 ? slot、slot-scope已經被棄用,所以推薦使用v-slot進行替換 // slot-scope 棄用寫法<el-table-column label="狀態" prop="mg_state"><template slot-scope="scope"><el-switch