fix: bug#11224

This commit is contained in:
xieyonghong 2023-03-30 20:03:23 +08:00
parent 79c280cece
commit 6224bf81ec
3 changed files with 9 additions and 3 deletions

View File

@ -351,6 +351,10 @@ export default [
permission: 'geo-manager',
actions: ['find-geo'],
},
{
permission: 'system_config',
actions: ['query'],
},
],
accessSupport: { text: "不支持", value: "unsupported" },
supportDataAccess: false
@ -585,6 +589,10 @@ export default [
permission: 'device-gateway',
actions: ['query'],
},
{
permission: 'system_config',
actions: ['query'],
},
],
buttons: [
{
@ -2118,7 +2126,7 @@ export default [
},
{
permission: 'rule-instance',
actions: ['query', 'save', 'execute'],
actions: ['query'],
},
{
permission: 'notifier',

View File

@ -136,7 +136,6 @@ const onSelect = (v: string, item: any) => {
}
const callDataChange = (v: any[]) => {
console.log('callDataChange',v)
emit('update:functionParameters', v)
}

View File

@ -162,7 +162,6 @@ watchEffect(() => {
const option = getOption(_options, props.value as string, props.valueName) // label
myValue.value = props.value
mySource.value = props.source
console.log('paramsDropdown', option, _options, props.valueName, props.value, typeof props.value)
if (option) {
label.value = option[props.labelName] || option.name
treeOpenKeys.value = openKeysByTree(_options, props.value, props.valueName)