提交 a2a90440 编写于 作者: 杜庆泉's avatar 杜庆泉

modal 默认设置取消文本的案例修改

上级 ee8a872c
...@@ -103,6 +103,8 @@ ...@@ -103,6 +103,8 @@
if(this.cancelTextSelect){ if(this.cancelTextSelect){
cancelTextVal = "修改后的取消文本" cancelTextVal = "修改后的取消文本"
cancelColorVal = "#ff00ff" cancelColorVal = "#ff00ff"
}else{
cancelTextVal = "取消"
} }
let confirmTextVal = '确定' let confirmTextVal = '确定'
...@@ -120,6 +122,7 @@ ...@@ -120,6 +122,7 @@
} }
uni.showModal({ uni.showModal({
title: this.items[this.current].value, title: this.items[this.current].value,
editable:this.editableSelect, editable:this.editableSelect,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册