This commit is contained in:
yumoqing 2025-12-29 17:35:13 +08:00
parent 0b1cee27e1
commit f4448699a4

View File

@ -1,4 +1,5 @@
{ {
"id":"language",
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"tip":"change UI language", "tip":"change UI language",
@ -22,6 +23,13 @@
"options":{ "options":{
"url":"{{entire_url('menu.ui')}}" "url":"{{entire_url('menu.ui')}}"
} }
},
{
"wid":"app",
"event":"lang",
"actiontype":"script",
"target":"self",
"script":"this.set_otext(bricks.app.lang)"
} }
] ]
} }