Refactor #3965 - For AutoComplete
parent
b2106de80b
commit
ac398b1c49
|
@ -102,7 +102,7 @@ const styles = `
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const inlineStyles = {
|
const inlineStyles = {
|
||||||
root: { position: 'relative' }
|
root: ({ props }) => ({ position: props.appendTo === 'self' ? 'relative' : undefined })
|
||||||
};
|
};
|
||||||
|
|
||||||
const classes = {
|
const classes = {
|
||||||
|
|
|
@ -61,9 +61,6 @@ export default {
|
||||||
return this.getPTValue(obj, key, params);
|
return this.getPTValue(obj, key, params);
|
||||||
},
|
},
|
||||||
cx(key = '', params = {}) {
|
cx(key = '', params = {}) {
|
||||||
console.log(key);
|
|
||||||
console.log(!this.isUnstyled ? this.getOptionValue(this.$options.css && this.$options.css.classes, key, { instance: this, props: this.$props, state: this.$data, ...params }) : undefined);
|
|
||||||
|
|
||||||
return !this.isUnstyled ? this.getOptionValue(this.$options.css && this.$options.css.classes, key, { instance: this, props: this.$props, state: this.$data, ...params }) : undefined;
|
return !this.isUnstyled ? this.getOptionValue(this.$options.css && this.$options.css.classes, key, { instance: this, props: this.$props, state: this.$data, ...params }) : undefined;
|
||||||
},
|
},
|
||||||
cxo(obj = {}, key = '', params = {}) {
|
cxo(obj = {}, key = '', params = {}) {
|
||||||
|
|
Loading…
Reference in New Issue