...
|
...
|
@@ -53,3 +53,16 @@ use backend\widgets\YHGImage\Common\Images as CommonImages; |
|
|
</form>
|
|
|
|
|
|
</div>
|
|
|
<script>
|
|
|
$(function(){
|
|
|
$("#upload_button").on("click", function()
|
|
|
{
|
|
|
var pic = $("input[name=pic]").val();
|
|
|
if(pic == "")
|
|
|
{
|
|
|
alert("头图不能为空");
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
</script> |
...
|
...
|
|