1234567891011121314151617181920212223242526272829 |
- Component({
- externalClasses: ["i-class", "i-btn"],
- properties: {
- visible: {
- type: Boolean,
- value: false
- },
- text: String,
- confirmText: {
- type: String,
- value: "确定"
- },
- showCancel: {
- type: Boolean,
- value: true
- }
- },
- methods: {
- confirm: function () {
- this.triggerEvent("confirm");
- },
- cancel: function () {
- this.triggerEvent("cancel");
- },
- close: function () {
- this.triggerEvent("cancel");
- }
- }
- });
|