流采
流采
1. `class` 名称,默认前缀是 `wxmlified`,但允许传入自定义的前缀 2. 允许自定义图片的 [mode](https://mp.weixin.qq.com/debug/wxadoc/dev/component/image.html) 属性 3. 允许设置图片的最大宽带、最小宽度值,或者暴露处计算图片尺寸的接口 4. 由于 wxss 不支持兄弟选择器,那两个相同的相邻元素,是否可以添加一个 class 进行标记
Some app may get session from request header rather than from cookie, so can support it?
浏览器环境:firefox 37.0.2 现象:在启动 puer 后,会打开 http://localhost:8000/ ,假如根目录下有 a 文件夹,那么我点击 a 文件夹,路径地址会变为 http://localhost:8000/\a ,并且此时点击 “ [up folder] ” 也无法返回
1. 能否提供一个类似于 weinre 的 boundHost 命令,通过命令指定一个域名,那么在启动 puer 服务后,浏览器将打开这个域名,而不是默认的 localhost:8080 2. 当我手动修改 locahost:8080 地址为 www.a.com:8080(www.a.com 已绑定 host 到本机),那么此时我修改文件并且保存后,页面会自动刷新,但是页面内容并没有变化。
mcss 代码片段: ``` css /* xx.mcss */ div { width: calc(100% + 2px); } ``` 实际解析后结果: ``` css /* xx.css */ div { width: calc(102%); } ``` 预期解析后结果: ``` css...
假设当前路由地址为 `/list?keyword=xxx`,html 部分代码如下: ``` 呵呵呵呵呵 呵呵呵呵呵 ``` 『场景1』会正常跳转到 `/job/1000` 『场景2』会跳转到 `/list?keyword=xxx#!/job/1000` 另外,我是在使用 [regular-state](https://github.com/regularjs/regular-state) 时碰到的这个问题
如题,感觉在实际应用中,通常 `children` 是空的,更关心的是 `sidebar` 内容,然后在使用中,如果无 `children` 又会抛出如下的警告 ``` Warning: Failed prop type: The prop `children` is marked as required in `Drawer` ``` 所以,感觉是否把下面代码的 `isRequired` 移除掉会相对合理些?? https://github.com/react-component/m-drawer/blob/c968110b6a79190c1e04ded36dff0bec178dfdfd/src/Drawer.jsx#L25
https://github.com/react-component/swipeout/blob/8e6d1e7a23ad2fba1cb7458cc61ae7b6550b1fd6/src/Swipeout.tsx#L146-L148 上面这段代码中的 `this.open` 方法的第 2、3 个参数是不是反了,虽然最终未影响到代码逻辑,但正确的是不是应该是下面这样的? ``` JavaScript doOpenRight = () => { this.open(-this.btnsRightWidth, false, true); } ```
对于 `content-type: multipart/form-data` 的请求,需要删除请求头里的 `content-type`,让浏览器自己去添加,否则会由于未包含 `boundary` 信息,导致上传失败 见: - https://github.com/umijs/umi-request/issues/98 - https://muffinman.io/uploading-files-using-fetch-multipart-form-data/