🐛 Fixing a bug. 修改代码生成模板格式问题;更新数据库脚本

This commit is contained in:
aeizzz committed 2022-12-19 17:41:15 +08:00
1 parent df8397c2b9
commit 30474f03e2
4 files changed
+15 -16

No files matched your search

@@ -1,19 +1,20 @@
export const tableOption = {
"border": true,
"index": true,
"indexLabel": "序号",
"stripe": true,
"menuAlign": "center",
"align": "center",
"searchMenuSpan": 6,
"column": [
'border': true,
'index': true,
'indexLabel': '序号',
'stripe': true,
'menuAlign': 'center',
'align': 'center',
'searchMenuSpan': 6,
'column': [
#foreach ($column in $columns)
{
"type": "input",
"label": "$column.comments",
"prop": "$column.lowerAttrName",
"span": 12
{
'type': 'input',
'label': '$column.comments',
'prop': '$column.lowerAttrName',
'span': 12
}#if($foreach.hasNext),#end
#end
]
}
@@ -48,7 +48,7 @@
</template>
<script>
import {fetchList, getObj, addObj, putObj, delObj} from '@/api/${pathName}'
import {fetchList, addObj, putObj, delObj} from '@/api/${pathName}'
import {tableOption} from '@/const/crud/${pathName}'
import {mapGetters} from 'vuex'