ci: 升级全局依赖
This commit is contained in:
parent
fe766d1207
commit
044267e1ab
@ -123,4 +123,4 @@ export default {
|
|||||||
|
|
||||||
| | | |
|
| | | |
|
||||||
| ----------- | ------------ | ------- |
|
| ----------- | ------------ | ------- |
|
||||||
| jump | 切换回调 | -- |
|
| jump | 切换回调 | { current: 当前页面 } |
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
::: demo
|
::: demo
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-tab v-model="current1">
|
<lay-tab v-model:modelValue="current">
|
||||||
<lay-tab-item title="选项一" id="1"><div style="padding:20px">选项一</div></lay-tab-item>
|
<lay-tab-item title="选项一" id="1"><div style="padding:20px">选项一</div></lay-tab-item>
|
||||||
<lay-tab-item title="选项二" id="2"><div style="padding:20px">选项二</div></lay-tab-item>
|
<lay-tab-item title="选项二" id="2"><div style="padding:20px">选项二</div></lay-tab-item>
|
||||||
</lay-tab>
|
</lay-tab>
|
||||||
@ -13,10 +13,10 @@ import { ref } from 'vue'
|
|||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
|
|
||||||
const current1 = ref("1")
|
const current = ref("1")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
current1
|
current
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
|
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.2.19",
|
"vue": "^3.2.20",
|
||||||
"vue-router": "^4.0.10"
|
"vue-router": "^4.0.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.2.20",
|
"vue": "^3.2.20",
|
||||||
|
@ -24,7 +24,7 @@ const slots = slot.default && slot.default()
|
|||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
type?: string
|
type?: string
|
||||||
modelValue?: string
|
modelValue: string
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
// select update 时, 通知 change 事件
|
// select update 时, 通知 change 事件
|
||||||
|
Loading…
Reference in New Issue
Block a user