Skip to content

Commit ac06e93

Browse files
committed
Poptip和carousel增加配置项
1 parent c8184bb commit ac06e93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/fields/fieldButton.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
:title="field.confirmPoptip.title"
66
:placement="field.confirmPoptip.placement"
77
:class="classes"
8-
@on-ok="handleClick"
9-
@on-cancel="handelCancel"
108
:ok-text="field.confirmPoptip.okText"
119
:cancel-text="field.confirmPoptip.cancelText"
10+
@on-ok="handleClick"
11+
@on-cancel="handelCancel"
1212
>
1313
<Button
1414
:type="field.subtype || 'default'"

website/code/doc/button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export default {
276276
console.log(model, value);
277277
},
278278
handleButtonCancel(val) {
279-
alert(1);
279+
console.log(val);
280280
}
281281
}
282282
};

0 commit comments

Comments
 (0)