Authored by 鲁尚清

Merge branch 'master' of http://192.168.1.136:82/monitor_v3/hg-monitor-web into …

…master-v32-lushangqing
@@ -449,11 +449,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl @@ -449,11 +449,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl
449 $('#details_tags').append(details_tags); 449 $('#details_tags').append(details_tags);
450 $('#details_tags span').on('click',function (){ 450 $('#details_tags span').on('click',function (){
451 $('[name="templates"]').val($('[name="templates"]').val() + '#{'+$(this).text() + '}'); 451 $('[name="templates"]').val($('[name="templates"]').val() + '#{'+$(this).text() + '}');
452 - if (noticeTimely.templates){  
453 noticeTimely.templates += '#{'+$(this).text() + '}'; 452 noticeTimely.templates += '#{'+$(this).text() + '}';
454 - }else {  
455 - noticeTimely.templates = '#{'+$(this).text() + '}';  
456 - }  
457 453
458 }); 454 });
459 } 455 }