proc07

Results 11 issues of proc07

### 例子 在page页面中引用了 2 次 form 组件,导致 formData 对象数据公用,当输入一个框时,第二个文本框值自动同步,surname 参数完好! 我在原生小程序中不会出现该问题。 ```javascript // page ``` ```javascript // form component *姓 import { Component } from '@tinajs/tina' Component.define({ data: { formData:...

### What problem does this feature solve? 某些业务情况下,不一定能使用上拉加载更多方式。希望能够支持下 ### What does the proposed API look like? 加多一个拉动方向 api

enhancement

## observeDOM 作用:会检测 scroller 内部 DOM 变化,自动调用 refresh 方法重新计算来保证滚动的正确性。它会额外增加一些性能开销,如果你能明确地知道 scroller 内部 DOM 的变化时机并手动调用 refresh 重新计算,你可以把该选项设置为 false。 ## MutationObserver 方法介绍 - 用于观察DOM树结构,若发生改变时,则触发回调进行对应处理。 [MO 监听DOM树变化](https://www.jianshu.com/p/b5c9e4c7b1e1) - 在DOM4中定义的,在 IE 11 以下浏览器中是不支持的,源码使用 setTimeout 进行兼容。...

## 何时进行惯性滚动? 作用:当快速在屏幕中滑动一段距离后(手指离开),根据这段滑动的时间和距离代入到公式,求出最后滚动到的位置,并进行滚动动画。 ## 在 `_end` 方法中调用了 momentum 来计算最后的位置。 ```javascript // start momentum animation if needed /* 必须开启 momentum 配置,滑动的时间小于 momentumLimitTime,且滑动的距离要超过 momentumLimitDistance (px)位置 */ if (this.options.momentum && duration < this.options.momentumLimitTime...

## 前言 首先介绍这三大方法之前,我们先去学习下它是如何绑定函数的(写法很精妙)。 在 init.js 中 `_init` 初始化方法中绑定了 `_addDOMEvents` 函数 ```javascript BScroll.prototype._init = function (el, options) { // some code here... this._addDOMEvents() // some code here... } BScroll.prototype._addDOMEvents = function...

### Description fix [#16116](https://github.com/vitejs/vite/issues/16116) importing a CommonJS module installed from NPM. The modue contains files with filenames like PeoplePicker.scss.js. These are JavaScript files, obviously, but the filename contains scss. ---...

p3-minor-bug
feat: deps optimizer

https://github.com/node-modules/parameter/pull/68

fix #17825 After using inline, the code will be converted to base64 encoding, so that the relative path in the worker file cannot get the corresponding actual file path