同步赵磊代码
This commit is contained in:
parent
234b075910
commit
158783339e
@ -556,13 +556,22 @@
|
|||||||
awsuiAxios.post(data).then(function (ro) {
|
awsuiAxios.post(data).then(function (ro) {
|
||||||
if(ro.result == 'ok') {
|
if(ro.result == 'ok') {
|
||||||
//isClickTreeRoot
|
//isClickTreeRoot
|
||||||
if(ro.data.mainRepository=="undefined"){
|
// if(ro.data.mainRepository=="undefined"){
|
||||||
if(ro.data.mainRepository.folder==false){
|
// if(ro.data.mainRepository.folder==false){
|
||||||
bus.$emit("getisDisabled",true);
|
// bus.$emit("getisDisabled",true);
|
||||||
|
// }else{
|
||||||
|
// bus.$emit("getisDisabled",false);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
if(ro.data.mainRepository!=undefined){
|
||||||
|
if(ro.data.mainRepository.folder==false){
|
||||||
|
bus.$emit("getisDisabled",true);
|
||||||
|
}else{
|
||||||
|
bus.$emit("getisDisabled",false);
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
bus.$emit("getisDisabled",false);
|
bus.$emit("getisDisabled",false);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
const repositoryPathData = ro.data.repositoryPathData;
|
const repositoryPathData = ro.data.repositoryPathData;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user