+
推进情况:
{{ info.problemProgress }}
@@ -106,13 +106,17 @@ export default {
initPrj(){
let find = this.dataList.find(d => d.projectName == this.prj.projectName);
if(find){
- this.index=this.dataList.indexOf(find);
- }else{
- if(this.isOnly){
- this.isOnly=false;
+ this.index=this.dataList.indexOf(find);
+ this.info=this.dataList[this.index];
+ }else{
+ if(this.prj.id==0){
+ this.index=0;
+ this.info=this.dataList[this.index];
+ }else{
+ this.info={projectName:this.prj.projectName }
}
}
- this.info=this.dataList[this.index];
+
},
modifyLeftBtn() {
let n=this.index-1;