新增下拉刷新。微信适配

master
lld 2026-01-28 00:20:20 +08:00
parent 52ef676656
commit f2f890da09
2 changed files with 4 additions and 3 deletions

View File

@ -18,14 +18,15 @@ export default {
onLaunch: function() {
//
// #ifdef H5
if (process.env.NODE_ENV === 'development') {
// HBuilderX
document.addEventListener('uni-app:reload', () => {
console.log('开发环境代码热更新') ;
mqttUtil.disconnectMqtt(); // MQTT
});
}
// #ifdef H5
// H5/
window.addEventListener('beforeunload', () => {
mqttUtil.disconnectMqtt()

View File

@ -853,8 +853,8 @@ export default {
<style scoped>
::v-deep .z-paging-container {
padding: 20rpx;
/deep/ .z-paging-content-fixed {
padding: 20rpx !important;
/* 可选防止margin塌陷加overflow */
overflow: hidden;
}