docs: update wg-basic/page-unit
This commit is contained in:
parent
8e4ae9ed36
commit
df20669730
@ -2,7 +2,7 @@
|
||||
title: 页面组件
|
||||
description: 页面上使用的组件
|
||||
published: true
|
||||
date: 2021-11-11T07:02:04.098Z
|
||||
date: 2022-01-17T04:25:26.729Z
|
||||
tags: wg-basic
|
||||
editor: markdown
|
||||
dateCreated: 2021-09-08T06:41:19.351Z
|
||||
@ -252,7 +252,7 @@ table.on('tool(dataTable)', function(obj) {
|
||||
{{# for(var i = 0, item = files[i]; item = files[i++];) { }}
|
||||
<div class="upload-image-box">
|
||||
<span class="upload-image-span">
|
||||
<img src="route/file/downloadfile/true/{{item.fileId}}" align="加载失败">
|
||||
<img src="route/file/download/true/{{item.fileId}}" align="加载失败">
|
||||
</span>
|
||||
<a class="layui-btn layui-btn-xs layui-btn-danger text-danger remove-image" href="javascript:void(0);" lay-form-button data-id="{{item.fileId}}" data-name="{{fileName}}" lay-filter="factoryGateRemoveFile">
|
||||
<i class="fa fa-trash-o"></i>
|
||||
@ -300,7 +300,7 @@ function initFileList(fileName, ids, callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
top.restAjax.get(top.restAjax.path('api/file/listfilebyfileid', []), {
|
||||
top.restAjax.get(top.restAjax.path('api/file/list', []), {
|
||||
ids: ids
|
||||
}, null, function(code, data) {
|
||||
refreshDownloadTemplet(fileName, data);
|
||||
|
Loading…
Reference in New Issue
Block a user