網(wǎng)站首頁 編程語言 正文
目錄
二、輸入框el-input
三、下拉框el-select
一、按鈕el-button
<el-table-column fixed="right" label="操作" width="100"> <template slot-scope="scope"> <el-button type="text" size="mini" :disabled="disFlag" @click="balabala(scope.row)">編輯</el-button> </template> <template slot-scope="scope"> <el-button type="text" size="mini" @click="bala(scope.row)">詳情</el-button> </template> </el-table-column>
//balabala balabala(row) { this.$router.push( "/bala/gaga/detail? id=" + row.id + "&name=" + row.name ); }, //bala bala: function (row) { this.$router.push({ path: "/bala/neinei/detail", query: { id: row.id, name: row.name, type: row.type, }, }); },
二、輸入框el-input
<el-table-column prop="reality_fans" label="輸入框" show-overflow-tooltip> <template slot-scope="scope"> <el-input v-model="scope.row.remark" @change="changeInput" placeholder="請輸入內(nèi)容" ></el-input> </template> </el-table-column>
三、下拉框el-select
<el-table-column prop="type" label="類型" width="120"> <template scope="scope"> <el-select v-model="scope.row.type" @change="handleCell(scope.$index, scope.row)"> <el-option v-for="item in typeList" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select> </template> </el-table-column>
有用請點贊,養(yǎng)成良好習(xí)慣!
疑問、交流、鼓勵請留言!
原文鏈接:https://libusi.blog.csdn.net/article/details/129656332
- 上一篇:沒有了
- 下一篇:沒有了
相關(guān)推薦
- 2024-02-29 UNI-APP中點擊事件多重響應(yīng)問題的解決,list列表項item和列表項item中按鈕的點擊事件沖
- 2023-07-07 Tomcat文件夾屬性
- 2022-07-07 Python如何在列表尾部添加元素_python
- 2022-07-08 C#中的Dialog對話框_C#教程
- 2022-03-16 Quartz.Net使用方法詳解_C#教程
- 2022-05-18 React?Hook之使用Effect?Hook的方法_React
- 2022-03-17 C語言判斷數(shù)是否為素數(shù)與素數(shù)輸出_C 語言
- 2023-07-26 webpack優(yōu)化代碼運行之Code split
- 欄目分類
-
- 最近更新
-
- window11 系統(tǒng)安裝 yarn
- 超詳細win安裝深度學(xué)習(xí)環(huán)境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎(chǔ)操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區(qū)別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權(quán)
- redisson分布式鎖中waittime的設(shè)
- maven:解決release錯誤:Artif
- restTemplate使用總結(jié)
- Spring Security之安全異常處理
- MybatisPlus優(yōu)雅實現(xiàn)加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務(wù)發(fā)現(xiàn)-Nac
- Spring Security之基于HttpR
- Redis 底層數(shù)據(jù)結(jié)構(gòu)-簡單動態(tài)字符串(SD
- arthas操作spring被代理目標(biāo)對象命令
- Spring中的單例模式應(yīng)用詳解
- 聊聊消息隊列,發(fā)送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支