waibu-mpa 1.2.13 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -183,7 +183,7 @@ async function factory (pkgName) {
183
183
  const { get } = this.lib._
184
184
  const plugin = getPlugin(name, true)
185
185
  if (!plugin) return
186
- return get(plugin, 'config.waibu.title', plugin.title ?? plugin.name)
186
+ return get(plugin, 'config.waibu.title', get(plugin, 'config.waibu.prefix', plugin.title, plugin.title ?? plugin.name))
187
187
  }
188
188
 
189
189
  getResource (name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-mpa",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "MPA support for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {