fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,32 +1,32 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// item鏍囩鐨勫悕绉帮紝浣滀负涓巙-tabbar鐨剉alue鍙傛暟鍖归厤鐨勬爣璇嗙
|
||||
// item标签的名称,作为与u-tabbar的value参数匹配的标识符
|
||||
name: {
|
||||
type: [String, Number, null],
|
||||
default: uni.$u.props.tabbarItem.name
|
||||
},
|
||||
// uView鍐呯疆鍥炬爣鎴栬€呯粷瀵硅矾寰勭殑鍥剧墖
|
||||
// uView内置图标或者绝对路径的图片
|
||||
icon: {
|
||||
icon: String,
|
||||
default: uni.$u.props.tabbarItem.icon
|
||||
},
|
||||
// 鍙充笂瑙掔殑瑙掓爣鎻愮ず淇℃伅
|
||||
// 右上角的角标提示信息
|
||||
badge: {
|
||||
type: [String, Number, null],
|
||||
default: uni.$u.props.tabbarItem.badge
|
||||
},
|
||||
// 鏄惁鏄剧ず鍦嗙偣锛屽皢浼氳鐩朾adge鍙傛暟
|
||||
// 是否显示圆点,将会覆盖badge参数
|
||||
dot: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.tabbarItem.dot
|
||||
},
|
||||
// 鎻忚堪鏂囨湰
|
||||
// 描述文本
|
||||
text: {
|
||||
type: String,
|
||||
default: uni.$u.props.tabbarItem.text
|
||||
},
|
||||
// 鎺у埗寰芥爣鐨勪綅缃紝瀵硅薄鎴栬€呭瓧绗︿覆褰㈠紡锛屽彲浠ヨ缃畉op鍜宺ight灞炴€?
|
||||
// 控制徽标的位置,对象或者字符串形式,可以设置top和right属性
|
||||
badgeStyle: {
|
||||
type: [Object, String],
|
||||
default: uni.$u.props.tabbarItem.badgeStyle
|
||||
|
||||
Reference in New Issue
Block a user