Merge pull request #123 from lbbniu/master_ui_optimize

pull/125/head
QLeelulu 2018-11-29 16:44:13 +08:00 committed by GitHub
commit 6a035d99b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ export default {
this.loading = true; this.loading = true;
var vm = this; var vm = this;
this.$rest.PUT('job', this.job) this.$rest.PUT('job', this.job)
.onsucceed(exceptCode, ()=>{vm.$router.push('/job',{query:vm.$route.query})}) .onsucceed(exceptCode, ()=>{vm.$router.push({path:'/job',query:vm.$route.query})})
.onfailed((resp)=>{vm.$bus.$emit('error', resp)}) .onfailed((resp)=>{vm.$bus.$emit('error', resp)})
.onend(()=>{vm.loading=false}) .onend(()=>{vm.loading=false})
.do(); .do();