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,42 +1,42 @@
import '@/common/uview-init.js'
import '@/common/uview-init.js'
export default {
props: {
// 鏄剧ず鏂囧瓧
// 显示文字
title: {
type: String,
default: uni.$u.props.alert.title
},
// 涓婚锛宻uccess/warning/info/error
// 主题,success/warning/info/error
type: {
type: String,
default: uni.$u.props.alert.type
},
// 杈呭姪鎬ф枃瀛?
// 辅助性文字
description: {
type: String,
default: uni.$u.props.alert.description
},
// 鏄惁鍙叧闂?
// 是否可关闭
closable: {
type: Boolean,
default: uni.$u.props.alert.closable
},
// 鏄惁鏄剧ず鍥炬爣
// 是否显示图标
showIcon: {
type: Boolean,
default: uni.$u.props.alert.showIcon
},
// 娴呮垨娣辫壊璋冿紝light-娴呰壊锛宒ark-娣辫壊
// 浅或深色调,light-浅色,dark-深色
effect: {
type: String,
default: uni.$u.props.alert.effect
},
// 鏂囧瓧鏄惁灞呬腑
// 文字是否居中
center: {
type: Boolean,
default: uni.$u.props.alert.center
},
// 瀛椾綋澶у皬
// 字体大小
fontSize: {
type: [String, Number],
default: uni.$u.props.alert.fontSize