{field: 'id', title: __('网站地址'), formatter: function(value, row, index){
                                return '<span data-url="//' + row["ip"] + ':' + row["port"] + '" ' +
                                    'class="label label-info jump" ' +
                                    'data-toggle="tooltip" title="">' +
                                    row["ip"] + ':' + row["port"] + '</span>';
}},



            //点击跳转
            $(document).on("click", ".jump", function () {
                var url = $(this).attr('data-url');

                window.open(url);
            });

  

相关文章:

  • 2022-02-18
  • 2018-11-06
  • 2022-12-23
  • 2022-01-17
  • 2022-01-13
  • 2022-12-23
  • 2022-02-21
  • 2021-09-04
猜你喜欢
  • 2022-01-01
  • 2021-11-04
  • 2021-12-03
  • 2022-01-31
  • 2021-07-02
  • 2021-12-05
  • 2021-04-24
相关资源
相似解决方案