diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index 870c331cc..04ce6c56b 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -446,10 +446,10 @@ export default { */ }, ptm(key = '', params = {}) { - return this._getPTValue(this.pt, key, { props: this.$props, state: this.$data, ...params }); + return this._getPTValue(this.pt, key, { instance: this, props: this.$props, state: this.$data, ...params }); }, ptmo(obj = {}, key = '', params = {}) { - return this._getPTValue(obj, key, params, false); + return this._getPTValue(obj, key, { instance: this, ...params }, false); }, cx(key = '', params = {}) { return !this.isUnstyled ? this._getOptionValue(this.$css.classes, key, { instance: this, props: this.$props, state: this.$data, parentInstance: this.$parentInstance, ...params }) : undefined; diff --git a/components/lib/inputtext/InputText.vue b/components/lib/inputtext/InputText.vue index 2de632961..33eea8556 100755 --- a/components/lib/inputtext/InputText.vue +++ b/components/lib/inputtext/InputText.vue @@ -1,5 +1,5 @@