移除Vue实例并优化配置项加载逻辑

删除了`config.js`中的Vue实例创建过程,简化了上传类型的数据绑定。通过直接操作`app.upload_type`来响应上传类型的变化。
This commit is contained in:
wolfcode
2024-07-26 10:08:09 +08:00
parent 1365fd08a0
commit 4f184abb08
3 changed files with 4 additions and 10 deletions

View File

@@ -41,9 +41,9 @@ class TriggerService
* 更新系统设置缓存
* @return bool
*/
public static function updatesysConfig()
public static function updateSysConfig(): bool
{
Cache::tag('sysconfig')->clear();
Cache::tag('sysConfig')->clear();
return true;
}