fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,47 +1,47 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// tab鐨勬暟鎹?
|
||||
// tab的数据
|
||||
list: {
|
||||
type: Array,
|
||||
default: uni.$u.props.subsection.list
|
||||
},
|
||||
// 褰撳墠娲诲姩鐨則ab鐨刬ndex
|
||||
// 当前活动的tab的index
|
||||
current: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.subsection.current
|
||||
},
|
||||
// 婵€娲荤殑棰滆壊
|
||||
// 激活的颜色
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.subsection.activeColor
|
||||
},
|
||||
// 鏈縺娲荤殑棰滆壊
|
||||
// 未激活的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.subsection.inactiveColor
|
||||
},
|
||||
// 妯″紡閫夋嫨锛宮ode=button涓烘寜閽舰寮忥紝mode=subsection鏃朵负鍒嗘妯″紡
|
||||
// 模式选择,mode=button为按钮形式,mode=subsection时为分段模式
|
||||
mode: {
|
||||
type: String,
|
||||
default: uni.$u.props.subsection.mode
|
||||
},
|
||||
// 瀛椾綋澶у皬
|
||||
// 字体大小
|
||||
fontSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.subsection.fontSize
|
||||
},
|
||||
// 婵€娲籺ab鐨勫瓧浣撴槸鍚﹀姞绮?
|
||||
// 激活tab的字体是否加粗
|
||||
bold: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.subsection.bold
|
||||
},
|
||||
// mode = button鏃讹紝缁勪欢鑳屾櫙棰滆壊
|
||||
// mode = button时,组件背景颜色
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.subsection.bgColor
|
||||
},
|
||||
// 浠巐ist鍏冪礌瀵硅薄涓鍙栫殑閿悕
|
||||
// 从list元素对象中读取的键名
|
||||
keyName: {
|
||||
type: String,
|
||||
default: uni.$u.props.subsection.keyName
|
||||
|
||||
Reference in New Issue
Block a user