追加onAppendButtonClick属性编辑器文件。

master
vdpAdmin 2022-07-06 15:28:09 +08:00
parent daf943e4ab
commit 1ddfaa17ed
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
<template>
<el-form-item label="onAppendButtonClick" label-width="150px">
<el-button type="info" icon="el-icon-edit" plain round @click="editEventHandler('onAppendButtonClick', eventParams)">
{{i18nt('designer.setting.addEventHandler')}}</el-button>
</el-form-item>
</template>
<script>
import i18n from "@/utils/i18n"
import eventMixin from "@/components/form-designer/setting-panel/property-editor/event-handler/eventMixin"
export default {
name: "onAppendButtonClick-editor",
mixins: [i18n, eventMixin],
props: {
designer: Object,
selectedWidget: Object,
optionModel: Object,
},
data() {
return {
eventParams: [],
}
}
}
</script>
<style scoped>
</style>