|
|
@@ -29,6 +29,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa |
|
|
|
tools.initError('标题不能为空!'); |
|
|
|
} else if($('#content').val()=="" || $('#content').val()==undefined){ |
|
|
|
tools.initError('内容不能为空!'); |
|
|
|
} else if($('#phone').val()=="" || $('#phone').val()==undefined){ |
|
|
|
tools.initError('联系方式不能为空!'); |
|
|
|
} else{ |
|
|
|
var form = { |
|
|
|
title:$('#title').val(), |
|
|
|