fix(module-system): 修复用户查询相关问题

- 在用户查询 SQL 中添加 enabled = 1 条件,只返回启用的用户
- 调整前端组件的高度计算方式
- 修复 CuteYamlEditor 组件的 change 事件
- 更新 CuteSimpleTableDemo 和 CuteYamlEditorDemo 的示例
This commit is contained in:
2025-08-04 19:49:10 +08:00
parent ab51025309
commit 89d58a4e5f
8 changed files with 28 additions and 26 deletions
@@ -119,7 +119,7 @@ export default {
},
computed: {
height() {
return document.documentElement.clientHeight - 250
return document.documentElement.clientHeight - 300
}
},
mounted() {
@@ -85,7 +85,7 @@ export default {
.container-form {
overflow-y: scroll; /* 启用滚动 */
scrollbar-width: none; /* Firefox */
height: 88%;
height: 85%;
padding-right: 20px;
-ms-overflow-style: none; /* Internet Explorer 10+ */
}
@@ -53,7 +53,7 @@ export default {
.container-form {
overflow-y: scroll; /* 启用滚动 */
scrollbar-width: none; /* Firefox */
height: 88%;
height: 85%;
padding-right: 20px;
-ms-overflow-style: none; /* Internet Explorer 10+ */
}
@@ -118,7 +118,7 @@ export default {
},
computed: {
height() {
return document.documentElement.clientHeight - 250
return document.documentElement.clientHeight - 300
}
},
mounted() {
@@ -68,6 +68,7 @@ export default {
this.editor.setOption('readOnly', this.readOnly)
this.editor.on('change', cm => {
this.$emit('change', cm.getValue())
this.$emit('input', cm.getValue())
})
},
methods: {