[前端-后台]再次修改部分措辞,修改boolen值的显示方法(再次改进)[CI SKIP]

This commit is contained in:
esp
2015-08-27 15:30:11 +08:00
parent f3b88e85fc
commit 979a2070cd
7 changed files with 9 additions and 22 deletions

View File

@@ -26,10 +26,6 @@ require(["jquery", "avalon", "csrfToken", "bsAlert", "editor", "validator"],
showGlobalViewRadio: true,
isGlobal: true,
allGroups: [],
getYesOrNo: function(yORn) {
if (yORn) return "是";
return "否";
},
getNext: function () {
if (!vm.nextPage)
return;
@@ -47,7 +43,6 @@ require(["jquery", "avalon", "csrfToken", "bsAlert", "editor", "validator"],
else {
return vm.previousPage ? "btn btn-primary" : "btn btn-primary disabled";
}
},
editAnnouncement: function (announcement) {
vm.newTitle = announcement.title;