[ルックアップ更新]条件式の不具合対応
This commit is contained in:
@@ -59,6 +59,10 @@ export default defineComponent({
|
||||
type: String,
|
||||
default: 'field'
|
||||
},
|
||||
connectProps:{
|
||||
type:Object,
|
||||
default:()=>({})
|
||||
},
|
||||
onlySourceSelect: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
@@ -87,7 +91,10 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
setup(props, { emit }) {
|
||||
const source = props.context.find(element => element.props.name === 'sources')
|
||||
let source = reactive(props.connectProps["source"]);
|
||||
if(!source){
|
||||
source = props.context.find(element => element.props.name === 'sources');
|
||||
}
|
||||
|
||||
if (source) {
|
||||
if (props.sourceType === 'field') {
|
||||
|
||||
Reference in New Issue
Block a user