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
+10 -10
View File
@@ -1,43 +1,43 @@
import '@/common/uview-init.js'
import '@/common/uview-init.js'
export default {
props: {
// 褰撳墠form鐨勯渶瑕侀獙璇佸瓧娈电殑闆嗗悎
// 当前form的需要验证字段的集合
model: {
type: Object,
default: uni.$u.props.form.model
},
// 楠岃瘉瑙勫垯
// 验证规则
rules: {
type: [Object, Function, Array],
default: uni.$u.props.form.rules
},
// 鏈夐敊璇椂鐨勬彁绀烘柟寮忥紝message-鎻愮ず淇℃伅锛宼oast-杩涜toast鎻愮ず
// border-bottom-涓嬭竟妗嗗憟鐜扮孩鑹诧紝none-鏃犳彁绀?
// 有错误时的提示方式,message-提示信息,toast-进行toast提示
// border-bottom-下边框呈现红色,none-无提示
errorType: {
type: String,
default: uni.$u.props.form.errorType
},
// 鏄惁鏄剧ず琛ㄥ崟鍩熺殑涓嬪垝绾胯竟妗?
// 是否显示表单域的下划线边框
borderBottom: {
type: Boolean,
default: uni.$u.props.form.borderBottom
},
// label鐨勪綅缃紝left-宸﹁竟锛宼op-涓婅竟
// label的位置,left-左边,top-上边
labelPosition: {
type: String,
default: uni.$u.props.form.labelPosition
},
// label鐨勫搴︼紝鍗曚綅px
// label的宽度,单位px
labelWidth: {
type: [String, Number],
default: uni.$u.props.form.labelWidth
},
// lable瀛椾綋鐨勫榻愭柟寮?
// lable字体的对齐方式
labelAlign: {
type: String,
default: uni.$u.props.form.labelAlign
},
// lable鐨勬牱寮忥紝瀵硅薄褰㈠紡
// lable的样式,对象形式
labelStyle: {
type: Object,
default: uni.$u.props.form.labelStyle