优化应用查询
This commit is contained in:
@@ -33,7 +33,7 @@ export default {
|
|||||||
return decodeURIComponent(this.$route.query.back) || ""
|
return decodeURIComponent(this.$route.query.back) || ""
|
||||||
},
|
},
|
||||||
currentApp() {
|
currentApp() {
|
||||||
let path = this.target.replace(/(.+)[\\\/][^\\\/]+\?.*/, '$1')
|
let path = this.target.replace(/(.+)[\\\/][^\\\/]+\??.*/, '$1')
|
||||||
return this.apps.find(e => e.libPath.indexOf(path) > -1) || {}
|
return this.apps.find(e => e.libPath.indexOf(path) > -1) || {}
|
||||||
},
|
},
|
||||||
appPath() {
|
appPath() {
|
||||||
|
|||||||
Reference in New Issue
Block a user