mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2025-12-12 18:02: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()
|
protected function getLocalAddons()
|
||||||
{
|
{
|
||||||
|
if(!file_exists("../install.lock"))
|
||||||
|
{
|
||||||
|
//尚未安装不加载插件
|
||||||
|
return [];
|
||||||
|
}
|
||||||
$cache_name = "local_install_addons";
|
$cache_name = "local_install_addons";
|
||||||
return cache_remember(
|
return cache_remember(
|
||||||
$cache_name,
|
$cache_name,
|
||||||
|
|||||||
@ -64,10 +64,9 @@ language.loadLocaleMessages(route.path, useSystemStore().lang)
|
|||||||
|
|
||||||
// 设置title模板
|
// 设置title模板
|
||||||
useHead({
|
useHead({
|
||||||
titleTemplate: (productCategory) => {
|
titleTemplate: (title) => {
|
||||||
return productCategory
|
const siteTitle = systemStore.site.front_end_name || systemStore.site.site_name
|
||||||
? `${productCategory} - ${systemStore.site.front_end_name || systemStore.site.site_name}`
|
return title ? `${title} - ${siteTitle}` : siteTitle
|
||||||
: systemStore.site.front_end_name
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
Loading…
x
Reference in New Issue
Block a user