uniapp 关闭页面上下拉后触发的回弹效果

pages.json中

在单页面中 加  bounce

"pages": [{
		"path": "pages/index/index"
	}, {
		"path": "pages/exercise/index"
	}, {
		"path": "pages/mine/index",
		"style": {
			"app-plus": {
				"bounce": "none"
			}
		}
	}, {
		"path": "pages/dataCard/index"
	}, {
		"path": "pages/login"
	}],

全局中

	"globalStyle": {
		"app-plus": {
			"titleNView": false,
			"bounce": "none"
		}
	},

单页面禁用好像没用

你可能感兴趣的:(uni-app)