@@ -379,7 +379,6 @@ export default create({
const scrollTo = () => {
setTimeout(() => {
- console.log(scrollDis.value, tabIndex.value);
scrollTop.value = scrollDis.value[tabIndex.value];
});
};
@@ -83,8 +83,6 @@ export default create({
let domsProps: any = slots?.default?.();
let doms: any = childrenDom.value;
Array.from(doms).forEach((item: any, index: number) => {
- console.log(index);
-
if (typeof newval == 'number' || typeof newval == 'string') {
if (domsProps[index] && domsProps[index].props) {
item.changeOpen(newval == domsProps[index].props.name ? true : false);
@@ -130,7 +130,6 @@ export default create({
const fixedStyle = computed(() => {
- console.log(11, state.listHeight, state.listGroup);
return {
height: `${state.listHeight[state.listGroup.length - 1]}px`
@@ -135,7 +135,6 @@ export default create({
computedStyle: ['width', 'height', 'lineHeight', 'paddingTop', 'paddingBottom', 'fontSize']
},
(res) => {
- console.log(res);
lineHeight = pxToNumber(res.lineHeight === 'normal' ? props.lineHeight : res.lineHeight);
maxHeight = Math.floor(
lineHeight * (Number(props.rows) + 0.5) + pxToNumber(res.paddingTop) + pxToNumber(res.paddingBottom)
@@ -274,7 +274,6 @@ export default create({
);
onMounted(() => {
- console.log(111);
setActive(props.initNo);
@@ -136,7 +136,6 @@ export default create({
const init = () => {
if (swipeRef.value) {
const rect = useRect(swipeRef.value);
- console.log('show');
state.rootHeight = rect.height;
state.rootWidth = rect.width;
}
@@ -107,7 +107,6 @@ export default create({
query.select('.navBarHtml').boundingClientRect();
query.exec((res) => {
navHeight.value = res[0].height;
- // console.log('navHeight', navHeight.value)
}, 500);
@@ -296,7 +296,6 @@ export default create({
if (rect.width > 0) offsetWidth = rect.width;
state.isCanScroll = props.scrollable == null ? offsetWidth > wrapWidth : props.scrollable;
- console.log(11, state.isCanScroll);
if (state.isCanScroll) {
state.wrapWidth = wrapWidth;
state.offsetWidth = offsetWidth;
@@ -207,7 +207,6 @@ export default create({
watch(
() => props.modelValue,
(val) => {
- console.log('监听', val);
if (val) {
setPullStatus(+props.headHeight, true);
nextTick(() => emit('refresh'));
@@ -178,8 +178,6 @@ export default create({
if (value == false) {
close();
- console.log(props.goods);
@@ -121,7 +121,6 @@ export default create({
const change = (event: Event) => {
if (Taro.getEnv() === Taro.ENV_TYPE.WEB) {
if (!composing.value) {
- // console.log((event.target as InputTarget)!.composing);
_onInput(event);
} else {
@@ -228,8 +228,6 @@ export default create({
rect = await useTaroRect(item.target, Taro);
- console.log('获取taro', rect);
maskRect[i] = rect;
maskStyle(i);