Authored by 王涛

Merge branch 'master-v32-xwx' into 'master'

及时消息自定义展示内容优化 2#



See merge request !719
@@ -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() + '}';  
454 - }else {  
455 - noticeTimely.templates = '#{'+$(this).text() + '}';  
456 - } 452 + noticeTimely.templates += '#{'+$(this).text() + '}';
457 453
458 }); 454 });
459 } 455 }