zet-lib 1.2.95 → 1.2.96
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/lib/zRoute.js +6 -0
- package/package.json +1 -1
package/lib/zRoute.js
CHANGED
|
@@ -966,6 +966,12 @@ zRoute.dataTableData = (key, value, MYMODEL, relations, myid = '') => {
|
|
|
966
966
|
myvalue = Util.fileView('/uploads/' + MYMODEL.routeName + '/', value)
|
|
967
967
|
break
|
|
968
968
|
|
|
969
|
+
case 'dropzone':
|
|
970
|
+
if (myvalue && myvalue.length > 0) {
|
|
971
|
+
myvalue = value.map((item) => `<a class="text-success" target="_blank" href="/uploads/${MYMODEL.routeName}/${key}/${item}"> ${item.substring(13)}</a> `)
|
|
972
|
+
}
|
|
973
|
+
break
|
|
974
|
+
|
|
969
975
|
case 'password':
|
|
970
976
|
myvalue = 'xxxxxx'
|
|
971
977
|
break
|