mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-25 14:54:44 +08:00
commit
3dd2c188c8
2 changed files with 2 additions and 1 deletions
|
@ -69,6 +69,7 @@ gulp.task('xjsp', () => {
|
||||||
if (file.includes('.development.js')) file = file.replace('.development.js', '.production.min.js')
|
if (file.includes('.development.js')) file = file.replace('.development.js', '.production.min.js')
|
||||||
return '<script src="' + file + '"></script>'
|
return '<script src="' + file + '"></script>'
|
||||||
} else {
|
} else {
|
||||||
|
if (file.includes('/js/feeds.jsx')) file = file.replace('/js/feeds.jsx', '')
|
||||||
file = file.replace('.jsx', '.js').split('?')[0]
|
file = file.replace('.jsx', '.js').split('?')[0]
|
||||||
console.log(p + ' >> ' + file)
|
console.log(p + ' >> ' + file)
|
||||||
file += '?v=' + fileHex(file)
|
file += '?v=' + fileHex(file)
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class GeneralDataListControll extends BaseEntityControll {
|
||||||
if (MetadataHelper.containsEntity(id.getEntityCode())) {
|
if (MetadataHelper.containsEntity(id.getEntityCode())) {
|
||||||
Entity entity = MetadataHelper.getEntity(id.getEntityCode());
|
Entity entity = MetadataHelper.getEntity(id.getEntityCode());
|
||||||
if (MetadataHelper.hasPrivilegesField(entity)) {
|
if (MetadataHelper.hasPrivilegesField(entity)) {
|
||||||
url = MessageFormat.format("{0}/list#!/View/{0}/{1}", entity, id);
|
url = MessageFormat.format("{0}/list#!/View/{0}/{1}", entity.getName(), id);
|
||||||
} else if (entity.getEntityCode() == EntityHelper.Feeds) {
|
} else if (entity.getEntityCode() == EntityHelper.Feeds) {
|
||||||
url = "../feeds/home#gs=" + id;
|
url = "../feeds/home#gs=" + id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue