ruoyi-ui/apps/web-antd/src/views/tool/dynamicForm/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-ui/apps/web-antd/src/views/tool/dynamicForm/index.vue
@@ -1,5 +1,5 @@ <template> <fc-designer ref="designer" /> <fc-designer ref="designer" :config="config" @save="handleSave" /> </template> <script setup> @@ -16,4 +16,12 @@ const loadJson = (json) => { designer.value.setJson(json); }; const config = ref({ showSaveBtn: true, showPreviewBtn: true, }); function handleSave(data) { //保存设计规则 console.log(data); } </script>