fix: Vue2 到 Vue3 迁移兼容修复
- 修复 uni-popup-dialog/uni-data-picker keypress.js 中 $once 在 H5 端报错(改用生命周期钩子清理监听) - main.js 补 $delete globalProperties polyfill(z-paging 自动高度逻辑依赖) - App.vue onLaunch 补设备信息初始化,修复 X-Device-Id 恒为 unknown - 68 处 ::v-deep、/deep/ 旧深度选择器替换为 :deep()(含 login-page.scss) - zetank-personalpage 组件 .sync 修饰符改为 v-model:xxx(Vue3 已移除 .sync) - vite.config.js HBuilderX 路径支持 HBUILDERX_HOME 环境变量覆盖 - 根 package.json 清理 image-grid 插件遗留元数据 - 收录此前未提交的 uView Vue3 兜底补丁(common/uview-init.js 及各组件 props.js)
This commit is contained in:
@@ -1,26 +1,27 @@
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 占父容器宽度的多少等分,总分为12份
|
||||
// 鍗犵埗瀹瑰櫒瀹藉害鐨勫灏戠瓑鍒嗭紝鎬诲垎涓?2浠?
|
||||
span: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.col.span
|
||||
},
|
||||
// 指定栅格左侧的间隔数(总12栏)
|
||||
// 鎸囧畾鏍呮牸宸︿晶鐨勯棿闅旀暟(鎬?2鏍?
|
||||
offset: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.col.offset
|
||||
},
|
||||
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
|
||||
// 姘村钩鎺掑垪鏂瑰紡锛屽彲閫夊€间负`start`(鎴朻flex-start`)銆乣end`(鎴朻flex-end`)銆乣center`銆乣around`(鎴朻space-around`)銆乣between`(鎴朻space-between`)
|
||||
justify: {
|
||||
type: String,
|
||||
default: uni.$u.props.col.justify
|
||||
},
|
||||
// 垂直对齐方式,可选值为top、center、bottom、stretch
|
||||
// 鍨傜洿瀵归綈鏂瑰紡锛屽彲閫夊€间负top銆乧enter銆乥ottom銆乻tretch
|
||||
align: {
|
||||
type: String,
|
||||
default: uni.$u.props.col.align
|
||||
},
|
||||
// 文字对齐方式
|
||||
// 鏂囧瓧瀵归綈鏂瑰紡
|
||||
textAlign: {
|
||||
type: String,
|
||||
default: uni.$u.props.col.textAlign
|
||||
|
||||
Reference in New Issue
Block a user