@airpower/transformer 0.1.10 → 0.1.11
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/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -222,7 +222,7 @@ class DecoratorUtil {
|
|
|
222
222
|
* @param isObject `可选` 是否是对象配置
|
|
223
223
|
*/
|
|
224
224
|
static getClassConfig(Class, classConfigKey, isObject = false) {
|
|
225
|
-
let classConfig = Reflect.get(Class, classConfigKey);
|
|
225
|
+
let classConfig = Reflect.get(new Class(), classConfigKey);
|
|
226
226
|
if (!isObject) {
|
|
227
227
|
if (classConfig) {
|
|
228
228
|
return classConfig;
|