mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修改引用字段
This commit is contained in:
parent
cf1496118b
commit
9365b2864c
|
|
@ -25,15 +25,15 @@ const props = defineProps<{
|
|||
|
||||
const options = ref<Array<any>>([
|
||||
{
|
||||
value: 'globe',
|
||||
value: 'global',
|
||||
label: '全局变量',
|
||||
type: 'globe',
|
||||
type: 'global',
|
||||
children: [
|
||||
{
|
||||
value: 'time',
|
||||
label: '当前时间',
|
||||
globeLabel: '{{全局变量.time}}',
|
||||
globeValue: "{{content['globe'].time}}"
|
||||
globeValue: "{{content['global'].time}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -43,15 +43,15 @@ function visibleChange(bool: boolean) {
|
|||
if (bool) {
|
||||
options.value = [
|
||||
{
|
||||
value: 'globe',
|
||||
value: 'global',
|
||||
label: '全局变量',
|
||||
type: 'globe',
|
||||
type: 'global',
|
||||
children: [
|
||||
{
|
||||
value: 'time',
|
||||
label: '当前时间',
|
||||
globeLabel: '{{全局变量.time}}',
|
||||
globeValue: "{{content['globe'].time}}"
|
||||
globeValue: "{{content['global'].time}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue