提交 fd391988 编写于 作者: zhujiamin's avatar zhujiamin

debug 删除前进行判断

上级 cc3e0d89
...@@ -368,7 +368,10 @@ ...@@ -368,7 +368,10 @@
</#if> </#if>
} }
}); });
if(datas.length <= 0 ){
this.$notice.error('请选择至少一条删除~')
return
}
if (datas.length < 5) { if (datas.length < 5) {
infoStr = infoStr + this.$t('app.message.totle') + datas.length + this.$t('app.message.data'); infoStr = infoStr + this.$t('app.message.totle') + datas.length + this.$t('app.message.data');
} else { } else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册