-
zhangwei
2025-03-05 16213c0f85aa3ac8317797bf4a05fd12940e16d3
src/uni_modules/uview-plus/components/u-no-network/u-no-network.vue
@@ -46,7 +46,7 @@
   import { props } from './props';
   import { mpMixin } from '../../libs/mixin/mpMixin';
   import { mixin } from '../../libs/mixin/mixin';
   import { toast } from '../../libs/function/index';
   import { toast, getDeviceInfo } from '../../libs/function/index';
   /**
    * noNetwork 无网络提示
    * @description 该组件无需任何配置,引入即可,内部自动处理所有功能和事件。
@@ -67,7 +67,7 @@
         }
      },
      mounted() {
         this.isIOS = (uni.getSystemInfoSync().platform === 'ios')
         this.isIOS = (getDeviceInfo().platform === 'ios')
         uni.onNetworkStatusChange((res) => {
            this.isConnected = res.isConnected
            this.networkType = res.networkType