Accept Merge Request #63: (feature/zy -> develop)
Merge Request: feature: 面板 Created By: @zhuyu Accepted By: @zhuyu URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/63?initial=true
This commit is contained in:
commit
fdf5858308
|
|
@ -50,7 +50,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|||
$(document).on('click', '.btn-preview', function (e) {
|
||||
e.preventDefault();
|
||||
var fileType = $(this).data('type'); // 自动从 data-type 获取,比如 pdf, jpg, doc
|
||||
var url = $(this).attr('href');
|
||||
var url = $(this).attr('url');
|
||||
|
||||
if (fileType === 'pdf') {
|
||||
Layer.open({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user