提交 78fc730f 编写于 作者: Cano1997's avatar Cano1997

feat: 搜索表单添加视图控制器

上级 440df8b5
......@@ -46,6 +46,7 @@ export const MDViewBase = defineComponent({
modelData={c.model.searchForm}
context={c.context}
params={c.params}
controller={c}
on-neuronInit={c.nerve.onNeuronInit(
c.model.searchForm.source.name,
)}
......
import { SearchFormModel } from '@ibiz-template/model';
import { useNamespace, useSearchFormController } from '@ibiz-template/vue-util';
import { defineComponent, getCurrentInstance, PropType } from 'vue';
import { MDViewController } from '@ibiz-template/controller';
import '@ibiz-template/theme/style/components/widgets/search-form/search-form.scss';
export const SearchFormControl = defineComponent({
name: 'SearchFormControl',
props: {
controller: {
type: Object as PropType<MDViewController>,
required: true,
},
modelData: {
type: SearchFormModel,
required: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册