waibu 1.1.2 → 1.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Web Framework for Bajo",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin/factory.js CHANGED
@@ -235,7 +235,7 @@ async function factory (pkgName) {
235
235
  return dir + `/${get(this.app[ns].config, 'waibu.prefix', this.app[ns].alias)}`
236
236
  }
237
237
 
238
- routePath = (name = '', { query = {}, base = 'waibuMpa', params = {}, guessHost } = {}) => {
238
+ routePath = (name = '', { query = {}, base = 'waibu', params = {}, guessHost } = {}) => {
239
239
  const { defaultsDeep, getPlugin } = this.app.bajo
240
240
  const { isEmpty, get, trimEnd, trimStart } = this.app.bajo.lib._
241
241
  const { breakNsPath } = this.app.bajo