網站首頁 編程語言 正文
目錄
二、輸入框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="請輸入內容" ></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>
有用請點贊,養成良好習慣!
疑問、交流、鼓勵請留言!
原文鏈接:https://libusi.blog.csdn.net/article/details/129656332
- 上一篇:沒有了
- 下一篇:沒有了
相關推薦
- 2022-02-25 DevTools failed to load SourceMap 警告處理方法
- 2022-05-17 ubuntu切換python版本解決語法不匹配問題(SyntaxError: invalid syn
- 2022-12-04 python中的list字符串元素排序_python
- 2023-05-24 Python使用Pandas處理測試數據的方法_python
- 2022-11-07 go?分布式鎖簡單實現實例詳解_Golang
- 2022-10-01 iOS簡單實現輪播圖效果_IOS
- 2022-11-26 React常見跨窗口通信方式實例詳解_React
- 2022-10-05 VScode中C++頭文件問題的終極解決方法詳析_C 語言
- 欄目分類
-
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支