|
@@ -437,6 +437,7 @@ export default defineComponent({
|
|
}
|
|
}
|
|
// 匹配 render 开头的函数
|
|
// 匹配 render 开头的函数
|
|
const getMatchRenderFunction = (obj) => {
|
|
const getMatchRenderFunction = (obj) => {
|
|
|
|
+
|
|
return Object.keys(obj).find((key) => {
|
|
return Object.keys(obj).find((key) => {
|
|
const matchRender = key.match(/^render.*/)
|
|
const matchRender = key.match(/^render.*/)
|
|
return matchRender && matchRender[0]
|
|
return matchRender && matchRender[0]
|
|
@@ -446,7 +447,6 @@ export default defineComponent({
|
|
return isFn(fn)
|
|
return isFn(fn)
|
|
}
|
|
}
|
|
const searchFn = (val) => {
|
|
const searchFn = (val) => {
|
|
- console.log(props)
|
|
|
|
proxy.$emit(
|
|
proxy.$emit(
|
|
'getList',
|
|
'getList',
|
|
Object.assign(props.filterParams, {
|
|
Object.assign(props.filterParams, {
|
|
@@ -455,7 +455,6 @@ export default defineComponent({
|
|
)
|
|
)
|
|
}
|
|
}
|
|
const retrievalModalFn = () => {
|
|
const retrievalModalFn = () => {
|
|
- console.log(proxy.$attrs)
|
|
|
|
proxy.$emit('moreSearch', '')
|
|
proxy.$emit('moreSearch', '')
|
|
//获取父组件定义的moreSearch方法
|
|
//获取父组件定义的moreSearch方法
|
|
}
|
|
}
|
|
@@ -502,7 +501,6 @@ export default defineComponent({
|
|
return
|
|
return
|
|
}
|
|
}
|
|
i.label = item.label
|
|
i.label = item.label
|
|
- console.log(item, i)
|
|
|
|
proxy.$emit(
|
|
proxy.$emit(
|
|
'getList',
|
|
'getList',
|
|
Object.assign(props.filterParams, { [i.prop]: item.value })
|
|
Object.assign(props.filterParams, { [i.prop]: item.value })
|