图片上传问题
This commit is contained in:
parent
b5cd3bfb31
commit
01760c790c
|
|
@ -173,6 +173,7 @@ function initTable(dataList, limit, page) {
|
|||
width: '20%',
|
||||
unresize: true,
|
||||
align: 'center',
|
||||
style: "height:90px;",
|
||||
templet: function(d) {
|
||||
// 假设 path 是一个有效的图片URL
|
||||
if (d.regulationsPath) { // 检查路径是否为空
|
||||
|
|
@ -189,6 +190,7 @@ function initTable(dataList, limit, page) {
|
|||
width: '20%',
|
||||
unresize: true,
|
||||
align: 'center',
|
||||
style: "height:90px;",
|
||||
templet: function(d) {
|
||||
// 假设 path 是一个有效的图片URL
|
||||
if (d.punishmentPath) { // 检查路径是否为空
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@ function initTable(dataList, limit, page) {
|
|||
width: '20%',
|
||||
unresize: true,
|
||||
align: 'center',
|
||||
style: "height:90px;",
|
||||
templet: function(d) {
|
||||
// 假设 path 是一个有效的图片URL
|
||||
if (d.path) { // 检查路径是否为空
|
||||
|
|
|
|||
|
|
@ -103,10 +103,10 @@ layui.use(['form', 'layer', 'table', 'laydate'], function () {
|
|||
laydate = layui.laydate;
|
||||
|
||||
function initData() {
|
||||
let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: false, time: 0,});
|
||||
// let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: false, time: 0,});
|
||||
let url = dataUrl + "proteam/pot/teamManage/getList";
|
||||
ajaxRequest(url, "POST", null, true, () => {}, (result) => {
|
||||
layer.close(loadingMsg);
|
||||
// layer.close(loadingMsg);
|
||||
if (result.code === 200) {
|
||||
const tables = ['lowerData', 'noData', 'blackData', 'minData', 'newData', 'maxData'];
|
||||
tables.forEach((tableId) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue