Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在H5中使用swiper的 circular属性 图片资源一直请求 #11783

Closed
WGLKing opened this issue May 9, 2022 · 2 comments
Closed

在H5中使用swiper的 circular属性 图片资源一直请求 #11783

WGLKing opened this issue May 9, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists F-vue3 Framework - Vue 3 T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects

Comments

@WGLKing
Copy link

WGLKing commented May 9, 2022

相关平台

H5

浏览器版本: Chrome 101.0.4951.54(正式版本) (x86_64)
使用框架: Vue 3

复现步骤

1、将swiper的circular属性设置为true
2、将浏览器的disable cache 勾选

期望结果

图片资源只请求一次

实际结果

随着swiper切换图片资源一直循环请求

环境信息

Taro CLI 3.4.3 environment info:
    System:
      OS: macOS 12.3.1
      Shell: 5.5 - /usr/local/bin/zsh
    Binaries:
      Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.4.3 => 3.4.3 
      @tarojs/components: 3.4.3 => 3.4.3 
      @tarojs/mini-runner: 3.4.3 => 3.4.3 
      @tarojs/runtime: 3.4.3 => 3.4.3 
      @tarojs/taro: 3.4.3 => 3.4.3 
      @tarojs/webpack-runner: 3.4.3 => 3.4.3 
      babel-preset-taro: 3.4.3 => 3.4.3 
      eslint-config-taro: 3.4.3 => 3.4.3 
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-h5 Target - 编译到 H5 V-3 Version - 3.x labels May 9, 2022
@ZakaryCode ZakaryCode added this to Padding in H5 May 30, 2022
@Duanruilong
Copy link

同样发现这个问题了,一直切换一直调用资源

@ZakaryCode
Copy link
Contributor

duplicate #11365

H5 automation moved this from Padding to Done Jun 23, 2022
@ZakaryCode ZakaryCode added the duplicate This issue or pull request already exists label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists F-vue3 Framework - Vue 3 T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
H5
  
Done
Development

No branches or pull requests

3 participants