Commit db33fe54 by 庄欣

添加滚动

parent 6502e6a2
...@@ -92,7 +92,8 @@ var addError = function(error, showUi) { ...@@ -92,7 +92,8 @@ var addError = function(error, showUi) {
var main = document.getElementById("main-ui"); var main = document.getElementById("main-ui");
main.style.display = "none"; main.style.display = "none";
} }
removeSuccess(); var okDom = document.getElementById("success");
okDom.innerHTML = "";
} }
var addSuccess = function (msg) { var addSuccess = function (msg) {
...@@ -102,11 +103,6 @@ var addSuccess = function (msg) { ...@@ -102,11 +103,6 @@ var addSuccess = function (msg) {
okDom.innerHTML = msg; okDom.innerHTML = msg;
} }
var removeSuccess = function() {
var okDom = document.getElementById("success");
okDom.innerHTML = "";
}
var getData = (api, data, callback) => { var getData = (api, data, callback) => {
api = api + "?"; api = api + "?";
for (var i in data) { for (var i in data) {
...@@ -283,7 +279,6 @@ function goNext() { ...@@ -283,7 +279,6 @@ function goNext() {
setCookie("default_admin", postData['admin_id']); setCookie("default_admin", postData['admin_id']);
setCookie("default_status", postData['status']); setCookie("default_status", postData['status']);
setCookie("default_channel", postData['channel_id']); setCookie("default_channel", postData['channel_id']);
prop();
return ; return ;
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment