fix: bug#11224
This commit is contained in:
parent
79c280cece
commit
6224bf81ec
|
@ -351,6 +351,10 @@ export default [
|
||||||
permission: 'geo-manager',
|
permission: 'geo-manager',
|
||||||
actions: ['find-geo'],
|
actions: ['find-geo'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
permission: 'system_config',
|
||||||
|
actions: ['query'],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
accessSupport: { text: "不支持", value: "unsupported" },
|
accessSupport: { text: "不支持", value: "unsupported" },
|
||||||
supportDataAccess: false
|
supportDataAccess: false
|
||||||
|
@ -585,6 +589,10 @@ export default [
|
||||||
permission: 'device-gateway',
|
permission: 'device-gateway',
|
||||||
actions: ['query'],
|
actions: ['query'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
permission: 'system_config',
|
||||||
|
actions: ['query'],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
@ -2118,7 +2126,7 @@ export default [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
permission: 'rule-instance',
|
permission: 'rule-instance',
|
||||||
actions: ['query', 'save', 'execute'],
|
actions: ['query'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
permission: 'notifier',
|
permission: 'notifier',
|
||||||
|
|
|
@ -136,7 +136,6 @@ const onSelect = (v: string, item: any) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const callDataChange = (v: any[]) => {
|
const callDataChange = (v: any[]) => {
|
||||||
console.log('callDataChange',v)
|
|
||||||
emit('update:functionParameters', v)
|
emit('update:functionParameters', v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,6 @@ watchEffect(() => {
|
||||||
const option = getOption(_options, props.value as string, props.valueName) // 回显label值
|
const option = getOption(_options, props.value as string, props.valueName) // 回显label值
|
||||||
myValue.value = props.value
|
myValue.value = props.value
|
||||||
mySource.value = props.source
|
mySource.value = props.source
|
||||||
console.log('paramsDropdown', option, _options, props.valueName, props.value, typeof props.value)
|
|
||||||
if (option) {
|
if (option) {
|
||||||
label.value = option[props.labelName] || option.name
|
label.value = option[props.labelName] || option.name
|
||||||
treeOpenKeys.value = openKeysByTree(_options, props.value, props.valueName)
|
treeOpenKeys.value = openKeysByTree(_options, props.value, props.valueName)
|
||||||
|
|
Loading…
Reference in New Issue