@steedos-widgets/amis-object 1.3.14 → 1.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/amis-object.cjs.js
CHANGED
|
@@ -9813,8 +9813,8 @@ function getAmisStaticFieldType(type, readonly, options){
|
|
|
9813
9813
|
/*
|
|
9814
9814
|
* @Author: baozhoutao@steedos.com
|
|
9815
9815
|
* @Date: 2022-10-28 14:15:09
|
|
9816
|
-
* @LastEditors:
|
|
9817
|
-
* @LastEditTime: 2023-
|
|
9816
|
+
* @LastEditors: liaodaxue
|
|
9817
|
+
* @LastEditTime: 2023-10-30 17:51:54
|
|
9818
9818
|
* @Description:
|
|
9819
9819
|
*/
|
|
9820
9820
|
|
|
@@ -9851,7 +9851,7 @@ const getAmisFileReadonlySchema = (steedosField)=>{
|
|
|
9851
9851
|
<% let fileData = data._display.${steedosField.name}; if (fileData) { %>
|
|
9852
9852
|
<% if(!Array.isArray(fileData)){ fileData = [fileData]} %>
|
|
9853
9853
|
<% fileData.forEach(function(item) { %>
|
|
9854
|
-
<a href='<%= item.url
|
|
9854
|
+
<a href='<%= item.url %>' target='_self' class='block'><%= item.name %></a>
|
|
9855
9855
|
<% });} %>`
|
|
9856
9856
|
}
|
|
9857
9857
|
}
|