fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,39 +1,39 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鎺у埗鎵撳紑鎴栬€呭叧闂?
|
||||
// 控制打开或者关闭
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.swipeActionItem.show
|
||||
},
|
||||
// 鏍囪瘑绗︼紝濡傛灉鏄痸-for锛屽彲鐢╥ndex绱㈠紩鍊?
|
||||
// 标识符,如果是v-for,可用index索引值
|
||||
name: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.swipeActionItem.name
|
||||
},
|
||||
// 鏄惁绂佺敤
|
||||
// 是否禁用
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.swipeActionItem.disabled
|
||||
},
|
||||
// 鏄惁鑷姩鍏抽棴鍏朵粬swipe鎸夐挳缁?
|
||||
// 是否自动关闭其他swipe按钮组
|
||||
autoClose: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.swipeActionItem.autoClose
|
||||
},
|
||||
// 婊戝姩璺濈闃堝€硷紝鍙湁澶т簬姝ゅ€硷紝鎵嶈璁や负鏄鎵撳紑鑿滃崟
|
||||
// 滑动距离阈值,只有大于此值,才被认为是要打开菜单
|
||||
threshold: {
|
||||
type: Number,
|
||||
default: uni.$u.props.swipeActionItem.threshold
|
||||
},
|
||||
// 鍙充晶鎸夐挳鍐呭
|
||||
// 右侧按钮内容
|
||||
options: {
|
||||
type: Array,
|
||||
default() {
|
||||
return uni.$u.props.swipeActionItem.rightOptions
|
||||
}
|
||||
},
|
||||
// 鍔ㄧ敾杩囨浮鏃堕棿锛屽崟浣峬s
|
||||
// 动画过渡时间,单位ms
|
||||
duration: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.swipeActionItem.duration
|
||||
|
||||
Reference in New Issue
Block a user