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
@@ -1,52 +1,52 @@
import '@/common/uview-init.js'
import '@/common/uview-init.js'
export default {
props: {
// 鎿嶄綔鑿滃崟鏄惁灞曠ず 锛堥粯璁alse锛?
// 操作菜单是否展示 (默认false)
show: {
type: Boolean,
default: uni.$u.props.actionSheet.show
},
// 鏍囬
// 标题
title: {
type: String,
default: uni.$u.props.actionSheet.title
},
// 閫夐」涓婃柟鐨勬弿杩颁俊鎭?
// 选项上方的描述信息
description: {
type: String,
default: uni.$u.props.actionSheet.description
},
// 鏁版嵁
// 数据
actions: {
type: Array,
default: uni.$u.props.actionSheet.actions
},
// 鍙栨秷鎸夐挳鐨勬枃瀛楋紝涓嶄负绌烘椂鏄剧ず鎸夐挳
// 取消按钮的文字,不为空时显示按钮
cancelText: {
type: String,
default: uni.$u.props.actionSheet.cancelText
},
// 鐐瑰嚮鏌愪釜鑿滃崟椤规椂鏄惁鍏抽棴寮圭獥
// 点击某个菜单项时是否关闭弹窗
closeOnClickAction: {
type: Boolean,
default: uni.$u.props.actionSheet.closeOnClickAction
},
// 澶勭悊搴曢儴瀹夊叏鍖猴紙榛樿true锛?
// 处理底部安全区(默认true)
safeAreaInsetBottom: {
type: Boolean,
default: uni.$u.props.actionSheet.safeAreaInsetBottom
},
// 灏忕▼搴忕殑鎵撳紑鏂瑰紡
// 小程序的打开方式
openType: {
type: String,
default: uni.$u.props.actionSheet.openType
},
// 鐐瑰嚮閬僵鏄惁鍏佽鍏抽棴 (榛樿true)
// 点击遮罩是否允许关闭 (默认true)
closeOnClickOverlay: {
type: Boolean,
default: uni.$u.props.actionSheet.closeOnClickOverlay
},
// 鍦嗚鍊?
// 圆角值
round: {
type: [Boolean, String, Number],
default: uni.$u.props.actionSheet.round