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.
- package/index.js +1 -1
- 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) {
|