add resId to cache DoricResource on native
This commit is contained in:
@@ -1610,11 +1610,13 @@ function text(config) {
|
||||
|
||||
class Resource {
|
||||
constructor(type, identifier) {
|
||||
this.resId = uniqueId("resource");
|
||||
this.type = type;
|
||||
this.identifier = identifier;
|
||||
}
|
||||
toModel() {
|
||||
return {
|
||||
resId: this.resId,
|
||||
type: this.type,
|
||||
identifier: this.identifier,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user