Summary of FAQs

 

1. The problem of select

Click to modify, and the select echo is normal. If you continue to click to modify, you will find that the select is emptied or the content to be displayed has disappeared for a while, and the other echoes are still normal. The solution is as follows:

 

Pseudocode 1:

$scope.editInventoryView=function(acname){

certificateInventoryService.editInventoryView(id).success( function(responseData) {

 

// echo select

certificateInventoryService.getCydw().success( function(responseData) {

$scope.sites = [

{site : "Google", url : "http://www.google.com"},

{site : "Runoob", url : "http://www.runoob.com"},

{site : "Taobao", url : "http://www.taobao.com"}

];

$scope.selectedSite="http://www.taobao.com";

});

 

$state.go('certificate.inventory.editView');

});

}

Pseudocode 2:

$scope.editInventoryView=function(acname){

certificateInventoryService.editInventoryView(id).success( function(responseData) {

 

// echo select

certificateInventoryService.getCydw().success( function(responseData) {

$scope.sites = [

{site : "Google", url : "http://www.google.com"},

{site : "Runoob", url : "http://www.runoob.com"},

{site : "Taobao", url : "http://www.taobao.com"}

];

$scope.selectedSite="http://www.taobao.com";

});

 

$state.go('certificate.inventory.editView');

});

}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326520675&siteId=291194637