fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,37 +1,37 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鏂囧瓧棰滆壊
|
||||
// 文字颜色
|
||||
color: {
|
||||
type: String,
|
||||
default: uni.$u.props.link.color
|
||||
},
|
||||
// 瀛椾綋澶у皬锛屽崟浣峱x
|
||||
// 字体大小,单位px
|
||||
fontSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.link.fontSize
|
||||
},
|
||||
// 鏄惁鏄剧ず涓嬪垝绾?
|
||||
// 是否显示下划线
|
||||
underLine: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.link.underLine
|
||||
},
|
||||
// 瑕佽烦杞殑閾炬帴
|
||||
// 要跳转的链接
|
||||
href: {
|
||||
type: String,
|
||||
default: uni.$u.props.link.href
|
||||
},
|
||||
// 灏忕▼搴忎腑澶嶅埗鍒扮矘璐存澘鐨勬彁绀鸿
|
||||
// 小程序中复制到粘贴板的提示语
|
||||
mpTips: {
|
||||
type: String,
|
||||
default: uni.$u.props.link.mpTips
|
||||
},
|
||||
// 涓嬪垝绾块鑹?
|
||||
// 下划线颜色
|
||||
lineColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.link.lineColor
|
||||
},
|
||||
// 瓒呴摼鎺ョ殑闂锛屼笉浣跨敤slot褰㈠紡浼犲叆锛屾槸鍥犱负nvue涓嬫棤娉曚慨鏀归鑹?
|
||||
// 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
|
||||
text: {
|
||||
type: String,
|
||||
default: uni.$u.props.link.text
|
||||
|
||||
Reference in New Issue
Block a user