From a272ea07a9ffee695429769f03c0539806a5c482 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期六, 22 五月 2021 23:40:26 +0800 Subject: [PATCH] !38 修改bo代码生成器,修改无法更新代码生成器是否必填为否问题 Merge pull request !38 from Yjoioooo/master --- ruoyi-ui/src/utils/generator/render.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/utils/generator/render.js b/ruoyi-ui/src/utils/generator/render.js index 42cd664..f187029 100644 --- a/ruoyi-ui/src/utils/generator/render.js +++ b/ruoyi-ui/src/utils/generator/render.js @@ -26,6 +26,11 @@ } const componentChild = { + 'el-button': { + default(h, conf, key) { + return conf[key] + }, + }, 'el-input': { prepend(h, conf, key) { return <template slot="prepend">{conf[key]}</template> -- Gitblit v1.9.3