fix: 修复 uView 组件文件编码乱码

- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM
- uview-ui/index.js 修复 2 行注释乱码
- 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
2026-09-08 15:44:20 +08:00
parent 99c139d6ce
commit ffd214eeba
86 changed files with 1020 additions and 1020 deletions
+2 -2
View File
@@ -66,10 +66,10 @@ const install = (Vue) => {
// 时间格式化,同时两个名称,date和timeFormat
Vue.filter('timeFormat', (timestamp, format) => uni.$u.timeFormat(timestamp, format))
Vue.filter('date', (timestamp, format) => uni.$u.timeFormat(timestamp, format))
// 将多久以前的方法,注入到全局过滤�?
// 将多久以前的方法,注入到全局过滤器
Vue.filter('timeFrom', (timestamp, format) => uni.$u.timeFrom(timestamp, format))
// #endif
// 同时挂载到uni和Vue.prototype�?
// 同时挂载到uni和Vue.prototype中
// #ifndef APP-NVUE
// 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
// #ifdef VUE3