修复usermeta的bug
This commit is contained in:
parent
4f32ee31e4
commit
85cd2eb461
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1 +1 @@
|
||||
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站</title><script defer="defer" src="/js/chunk-vendors.908af258.js"></script><script defer="defer" src="/js/app.4ab1e06c.js"></script><link href="/css/chunk-vendors.c52e575a.css" rel="stylesheet"><link href="/css/app.86c60691.css" rel="stylesheet"></head><body><noscript><strong>抱歉,NEU小站无法在没有 JavaScript 的情况下正常工作。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>
|
||||
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站</title><script defer="defer" src="/js/chunk-vendors.908af258.js"></script><script defer="defer" src="/js/app.aeab123f.js"></script><link href="/css/chunk-vendors.c52e575a.css" rel="stylesheet"><link href="/css/app.86c60691.css" rel="stylesheet"></head><body><noscript><strong>抱歉,NEU小站无法在没有 JavaScript 的情况下正常工作。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>
|
||||
2
dist/js/365.589b372d.js
vendored
2
dist/js/365.589b372d.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/561.73a6314e.js
vendored
Normal file
2
dist/js/561.73a6314e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
dist/js/561.ce7a7162.js
vendored
2
dist/js/561.ce7a7162.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/597.3683ba56.js
vendored
Normal file
2
dist/js/597.3683ba56.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -199,7 +199,7 @@ export default {
|
||||
.catch(() => {});
|
||||
},
|
||||
handleArticleClick(articleId) {
|
||||
this.$router.push(`/article/${articleId}`);
|
||||
window.location.href = `/article/${articleId}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,14 +78,6 @@ export default {
|
||||
this.fetchArticle();
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route.params.id'(newId, oldId) {
|
||||
if (newId && newId !== oldId && !this.isPreviewMode) {
|
||||
this.fetchArticle();
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async fetchArticle() {
|
||||
this.loading = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user