解决搜索后点击无法无法跳转
This commit is contained in:
parent
9a56b77320
commit
9732f3323d
2
package-lock.json
generated
2
package-lock.json
generated
@ -12683,7 +12683,7 @@
|
||||
},
|
||||
"webpack-bundle-analyzer": {
|
||||
"version": "3.7.0",
|
||||
"resolved": "https://registry.npm.taobao.org/webpack-bundle-analyzer/download/webpack-bundle-analyzer-3.7.0.tgz?cache=0&sync_timestamp=1586846559504&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwebpack-bundle-analyzer%2Fdownload%2Fwebpack-bundle-analyzer-3.7.0.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/webpack-bundle-analyzer/download/webpack-bundle-analyzer-3.7.0.tgz?cache=0&sync_timestamp=1586846510646&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwebpack-bundle-analyzer%2Fdownload%2Fwebpack-bundle-analyzer-3.7.0.tgz",
|
||||
"integrity": "sha1-hNpDTolEKJm4hNmtOORm0NsCpW8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
|
@ -325,8 +325,8 @@ export default {
|
||||
this.loading = false;
|
||||
let data = res.data;
|
||||
if (data) {
|
||||
var href = `/${cur}:${data}`;
|
||||
href = checkoutPath(href, file);
|
||||
var href = checkoutPath(data, file);
|
||||
href = `/${cur}:${data}`;
|
||||
if (target === "_blank") {
|
||||
window.open(href);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user