Skip to content

Commit

Permalink
fix templates
Browse files Browse the repository at this point in the history
  • Loading branch information
v_huyilin committed Nov 26, 2024
1 parent 30b49bb commit 5100858
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions packages/config/template/bugGood.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,6 @@ export default {
"text": "{{ $selectData.product ? $selectData.product?.price + '元' : '请选择商品' }}"
},
"designKey": "design-0oHv"
},
{
"label": "文本",
"component": "Text",
"props": {
"text": "这是一段文本"
},
"designKey": "design-47hM",
"name": "form-9Gy2"
}
]
} satisfies FormSchema
2 changes: 1 addition & 1 deletion packages/form-design/Left/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const locale = useLocale()
const lang = useLang()
const templates = designInstance.templates ? designInstance.templates : template
const templates = designInstance.templates?.length ? designInstance.templates : template
const menus = computed(() =>
parseMenus({ elements, omits: designInstance.omitMenus || [], lang: lang.value })
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-form-craft/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-form-craft",
"version": "4.6.3",
"version": "4.6.4",
"private": false,
"type": "module",
"scripts": {
Expand Down

0 comments on commit 5100858

Please sign in to comment.