fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,42 +1,42 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// input鐨刲abel鎻愮ず璇?
|
||||
// input的label提示语
|
||||
label: {
|
||||
type: String,
|
||||
default: uni.$u.props.formItem.label
|
||||
},
|
||||
// 缁戝畾鐨勫€?
|
||||
// 绑定的值
|
||||
prop: {
|
||||
type: String,
|
||||
default: uni.$u.props.formItem.prop
|
||||
},
|
||||
// 鏄惁鏄剧ず琛ㄥ崟鍩熺殑涓嬪垝绾胯竟妗?
|
||||
// 是否显示表单域的下划线边框
|
||||
borderBottom: {
|
||||
type: [String, Boolean],
|
||||
default: uni.$u.props.formItem.borderBottom
|
||||
},
|
||||
// label鐨勪綅缃紝left-宸﹁竟锛宼op-涓婅竟
|
||||
// label的位置,left-左边,top-上边
|
||||
labelPosition: {
|
||||
type: String,
|
||||
default: uni.$u.props.formItem.labelPosition
|
||||
},
|
||||
// label鐨勫搴︼紝鍗曚綅px
|
||||
// label的宽度,单位px
|
||||
labelWidth: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.formItem.labelWidth
|
||||
},
|
||||
// 鍙充晶鍥炬爣
|
||||
// 右侧图标
|
||||
rightIcon: {
|
||||
type: String,
|
||||
default: uni.$u.props.formItem.rightIcon
|
||||
},
|
||||
// 宸︿晶鍥炬爣
|
||||
// 左侧图标
|
||||
leftIcon: {
|
||||
type: String,
|
||||
default: uni.$u.props.formItem.leftIcon
|
||||
},
|
||||
// 鏄惁鏄剧ず宸﹁竟鐨勫繀濉槦鍙凤紝鍙綔鏄剧ず鐢紝鍏蜂綋鏍¢獙蹇呭~鐨勯€昏緫锛岃鍦╮ules涓厤缃?
|
||||
// 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
|
||||
required: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.formItem.required
|
||||
|
||||
Reference in New Issue
Block a user