mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2025-12-11 17:42:47 +00:00
update
This commit is contained in:
parent
44d37d90e3
commit
8c7461a7c1
@ -37,6 +37,11 @@ abstract class BaseDict extends Storage
|
||||
*/
|
||||
protected function getLocalAddons()
|
||||
{
|
||||
if(!file_exists("../install.lock"))
|
||||
{
|
||||
//尚未安装不加载插件
|
||||
return [];
|
||||
}
|
||||
$cache_name = "local_install_addons";
|
||||
return cache_remember(
|
||||
$cache_name,
|
||||
|
||||
@ -64,10 +64,9 @@ language.loadLocaleMessages(route.path, useSystemStore().lang)
|
||||
|
||||
// 设置title模板
|
||||
useHead({
|
||||
titleTemplate: (productCategory) => {
|
||||
return productCategory
|
||||
? `${productCategory} - ${systemStore.site.front_end_name || systemStore.site.site_name}`
|
||||
: systemStore.site.front_end_name
|
||||
titleTemplate: (title) => {
|
||||
const siteTitle = systemStore.site.front_end_name || systemStore.site.site_name
|
||||
return title ? `${title} - ${siteTitle}` : siteTitle
|
||||
}
|
||||
})
|
||||
</script>
|
||||
Loading…
x
Reference in New Issue
Block a user