123456789101112131415161718192021 |
- Component({
- properties: {
- visible: {
- type: Boolean,
- value: false
- },
- text: String,
- confirmText: {
- type: String,
- value: "确定"
- }
- },
- methods: {
- confirm: function () {
- this.triggerEvent("confirm");
- },
- cancel: function () {
- this.triggerEvent("cancel");
- }
- }
- });
|