|
|
@ -327,8 +327,10 @@ export default class Model implements TableType { |
|
|
|
table_name, |
|
|
|
table_name, |
|
|
|
}, |
|
|
|
}, |
|
|
|
); |
|
|
|
); |
|
|
|
modelData.meta = parseMetaProp(modelData); |
|
|
|
if (modelData) { |
|
|
|
await NocoCache.set(`${CacheScope.MODEL}:${modelData.id}`, modelData); |
|
|
|
modelData.meta = parseMetaProp(modelData); |
|
|
|
|
|
|
|
await NocoCache.set(`${CacheScope.MODEL}:${modelData.id}`, modelData); |
|
|
|
|
|
|
|
} |
|
|
|
// modelData.filters = await Filter.getFilterObject({
|
|
|
|
// modelData.filters = await Filter.getFilterObject({
|
|
|
|
// viewId: modelData.id
|
|
|
|
// viewId: modelData.id
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|