Commit cddbd350 authored by 智勇's avatar 智勇

redirect

parent 632adc4e
...@@ -327,7 +327,7 @@ export default { ...@@ -327,7 +327,7 @@ export default {
this.tagName = '' this.tagName = ''
this.options = [] this.options = []
this.tagOptions = [] this.tagOptions = []
fetchUserrepository({ 'namespace': 'qa-' + type }).then(res => { fetchUserrepository({ 'namespace': 'qa-' + label }).then(res => {
this.options = res.data.repoInfo this.options = res.data.repoInfo
this.server = res.data.server this.server = res.data.server
}) })
......
<script>
export default {
beforeCreate() {
const { params, query } = this.$route
const { path } = params
this.$router.replace({ path: '/' + path, query })
},
render: function(h) {
return h() // avoid warning message
}
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment