Commit 80c983e0 authored by youjie's avatar youjie

no message

parent 8659e452
...@@ -155,7 +155,6 @@ ...@@ -155,7 +155,6 @@
function saveGuestSurvey() { function saveGuestSurvey() {
document.getElementById("submitB").classList.add("active") document.getElementById("submitB").classList.add("active")
getTextarea() getTextarea()
getRadio()
var postMsg = []; var postMsg = [];
if (dataList && dataList.length > 0) { if (dataList && dataList.length > 0) {
dataList.forEach(item => { dataList.forEach(item => {
...@@ -214,6 +213,7 @@ ...@@ -214,6 +213,7 @@
success: function(res) { success: function(res) {
$('#submitB').attr('disabled', false) $('#submitB').attr('disabled', false)
if (res.resultCode === 1) { if (res.resultCode === 1) {
return
window.location.href = 'success.html' window.location.href = 'success.html'
} else { } else {
layer.msg(res.message) layer.msg(res.message)
......
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