We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fa2694 commit 70e7c1cCopy full SHA for 70e7c1c
packages/shell/src/setting-prop-entry.ts
@@ -195,6 +195,20 @@ export default class SettingPropEntry {
195
return this[settingPropEntrySymbol].getPropValue(propName);
196
}
197
198
+ /**
199
+ * 获取顶层附属属性值
200
+ */
201
+ getExtraPropValue(propName: string) {
202
+ return this[settingPropEntrySymbol].getExtraPropValue(propName);
203
+ }
204
+
205
206
+ * 设置顶层附属属性值
207
208
+ setExtraPropValue(propName: string, value: any) {
209
+ this[settingPropEntrySymbol].setExtraPropValue(propName, value);
210
211
212
/**
213
* 获取设置属性集
214
* @returns
0 commit comments