设为首页
收藏本站
首页
BBS
热点排行
1
安装Discuz! Q 环境要求与配置
代码人
»
首页
›
技术广场
›
Vue
›
查看内容
返回列表
发新帖
vue多个邮箱,动态添加
dmr
dmr
当前离线
积分
1075
282
主题
2
回帖
1075
积分
管理员
积分
1075
发消息
显示全部楼层
1.template:
<el-col :span="20">
<div>
<el-table :data="level">
<el-table-column prop="age" label="邮箱名称">
<template slot-scope="scope">
<el-input placeholder="请输入电子邮箱"
v-model="level[scope.$index].val">
</el-input>
</template>
</el-table-column>
<el-table-column prop="age" label="操作">
<template slot-scope="scope">
<el-button
icon="el-icon-plus"
size="small"
@click="addClick"
v-if="scope.$index+1==level.length"
class="addAnddeleBtn"
></el-button>
<el-button
icon="el-icon-minus"
size="small"
@click="deleteRowElection(scope.$index)"
v-if="scope.$index!=level.length&&level.length!=1"
class="addAnddeleBtn"
></el-button>
</template>
</el-table-column>
</el-table>
</div>
</el-col>
微信扫一扫,分享更方便
剩余
43%
内容需要支付
3.00
元 后可完整阅读
付费阅读
加入会员
支持付费阅读,激励作者创作更好的作品。会员可8折购买!
上一篇:
vue分类标签的选择
下一篇:
Vue对数值进行保留小数点后两位
发表于 2024-11-3 10:19:33
举报
回复
分享
返回列表
发新帖
本版积分规则
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
立即注册
浏览过的版块
JavaScript
黑夜模式
快速发帖
返回列表
返回顶部