halo/ui/console-src/modules/system/plugins/components
Ryan Wang 6428b2f0e2
refactor: improve conditions for determining if a plugin needs to be reloaded (#6498)
#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.19.x

#### What this PR does / why we need it:

优化插件是否需要重载页面的判断条件,否则从低版本升级到 2.19 时,所有插件都会提示需要重载。

因为在 https://github.com/halo-dev/halo/pull/6470 中修改了 bundle.js 的结构,但升级到 2.19 之后可能并不会及时抛弃 bundle.js 的缓存,因为插件本身的 version 并没有改变,bundle.js 的 hash 参数也不会改变。

#### Does this PR introduce a user-facing change?

```release-note
None
```
2024-08-23 07:16:58 +00:00
..
entity-fields refactor: improve conditions for determining if a plugin needs to be reloaded (#6498) 2024-08-23 07:16:58 +00:00
extension-points feat: add plugin detail modal as global component (#6233) 2024-07-01 08:59:17 +00:00
installation-tabs chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
tabs feat: add plugin detail modal as global component (#6233) 2024-07-01 08:59:17 +00:00
PluginConditionsModal.vue chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
PluginDetailModal.vue feat: add plugin detail modal as global component (#6233) 2024-07-01 08:59:17 +00:00
PluginInstallationModal.vue feat: enable asynchronous resolving for UI extension points (#6018) 2024-05-30 07:01:15 +00:00
PluginListItem.vue feat: add prompt for users to reload page after plugin update 2024-08-15 17:30:01 +08:00