Refactor #3965 - For AutoComplete

pull/3997/head
Tuğçe Küçükoğlu 2023-05-25 11:55:38 +03:00
parent b2106de80b
commit ac398b1c49
2 changed files with 1 additions and 4 deletions

View File

@ -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 = {

View File

@ -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 = {}) {