bi-components-library 1.1.86 → 1.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -23631,7 +23631,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23631
23631
  accept: "video/*",
23632
23632
  onChange: (ce) => {
23633
23633
  const fe = ce.target.files?.[0], ve = ge.current;
23634
- fe && ve && sl(ve, fe), ge.current = null, re.current && (re.current.value = "");
23634
+ fe && fe.size > 1024 * 1024 * 1024 ? k.warning("视频文件不能超过1GB") : fe && ve && sl(ve, fe), ge.current = null, re.current && (re.current.value = "");
23635
23635
  }
23636
23636
  }
23637
23637
  )