Refactor #5257
parent
dd84dbbb60
commit
a4539ae307
|
@ -32,7 +32,7 @@ export default {
|
||||||
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
||||||
methods: {
|
methods: {
|
||||||
getPTOptions(key) {
|
getPTOptions(key) {
|
||||||
const _ptm = root === 'root' ? this.ptmi : this.ptm;
|
const _ptm = key === 'root' ? this.ptmi : this.ptm;
|
||||||
|
|
||||||
return _ptm(key, {
|
return _ptm(key, {
|
||||||
context: {
|
context: {
|
||||||
|
|
Loading…
Reference in New Issue