shopxo/public/static/admin/default/js/link.js
2019-07-21 23:51:47 +08:00

21 lines
456 B
JavaScript
Executable File

$(function()
{
/**
* 添加
*/
$('.submit-add').on('click', function()
{
// 更改窗口名称
$title = $('#data-save-win').find('.am-popup-title');
$title.text($title.data('add-title'));
// 清空表单
FormDataFill({"id":"", "name":"", "url":"", "describe":"", "sort":0, "is_enable":1});
// 校验成功状态增加失去焦点
$('form.form-validation').find('.am-field-valid').each(function()
{
$(this).blur();
});
});
});