fix: 分享链接一直跳转的问题
This commit is contained in:
parent
27fa9e0ef5
commit
34b9aea589
14
package.json
14
package.json
@ -67,28 +67,28 @@
|
||||
"@babel/core": "7.0.0",
|
||||
"@babel/register": "7.0.0",
|
||||
"@vue/cli-plugin-babel": "3.6.0",
|
||||
"@vue/cli-plugin-eslint": "3.9.1",
|
||||
"@vue/cli-plugin-eslint": "^3.9.1",
|
||||
"@vue/cli-plugin-unit-jest": "3.6.3",
|
||||
"@vue/cli-service": "3.6.0",
|
||||
"@vue/test-utils": "1.0.0-beta.29",
|
||||
"autoprefixer": "9.5.1",
|
||||
"autoprefixer": "^9.5.1",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "10.0.1",
|
||||
"babel-jest": "23.6.0",
|
||||
"babel-plugin-import": "1.13.0",
|
||||
"babel-plugin-import": "^1.13.0",
|
||||
"chalk": "2.4.2",
|
||||
"connect": "3.6.6",
|
||||
"eslint": "5.15.3",
|
||||
"eslint": "^5.15.3",
|
||||
"html-webpack-plugin": "3.2.0",
|
||||
"runjs": "4.3.2",
|
||||
"runjs": "^4.3.2",
|
||||
"sass": "1.52.1",
|
||||
"sass-loader": "7.3.1",
|
||||
"script-ext-html-webpack-plugin": "2.1.3",
|
||||
"script-loader": "0.7.2",
|
||||
"serve-static": "1.13.2",
|
||||
"serve-static": "^1.13.2",
|
||||
"svg-sprite-loader": "4.1.3",
|
||||
"svgo": "1.2.2",
|
||||
"vue-kityminder-ggg": "1.3.10",
|
||||
"vue-kityminder-ggg": "^1.3.10",
|
||||
"vue-template-compiler": "2.6.14"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -58,10 +58,15 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
getTaskProgress().then(res => {
|
||||
this.dataList = res.data
|
||||
this.$emit('update:task-count', this.dataList.length > 0)
|
||||
})
|
||||
if (this.$route.path.startsWith("/s/")) {
|
||||
return
|
||||
}
|
||||
if (this.$store.state.user.token) {
|
||||
getTaskProgress().then(res => {
|
||||
this.dataList = res.data
|
||||
this.$emit('update:task-count', this.dataList.length > 0)
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
data(val) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user