更新
This commit is contained in:
@@ -174,7 +174,7 @@
|
||||
<el-rate
|
||||
style="margin-left: 10px"
|
||||
v-model="startValue"
|
||||
show-text>
|
||||
>
|
||||
</el-rate>
|
||||
</div>
|
||||
<el-button type="primary" plain @click="publishComment">发布</el-button>
|
||||
@@ -724,7 +724,11 @@ export default {
|
||||
that.github.name=res.data.name;
|
||||
that.github.default_branch=res.data.default_branch;
|
||||
that.github.avatar_url=res.data.owner.avatar_url;
|
||||
that.saveGithubInfo();
|
||||
if(that.$route.query.id){
|
||||
that.saveGithubInfo();
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user