ci: 升级全局依赖

This commit is contained in:
就眠仪式 2021-10-13 01:45:59 +08:00
parent fe766d1207
commit 044267e1ab
4 changed files with 7 additions and 7 deletions

View File

@ -123,4 +123,4 @@ export default {
| | | |
| ----------- | ------------ | ------- |
| jump | 切换回调 | -- |
| jump | 切换回调 | { current: 当前页面 } |

View File

@ -1,7 +1,7 @@
::: demo
<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="2"><div style="padding:20px">选项二</div></lay-tab-item>
</lay-tab>
@ -13,10 +13,10 @@ import { ref } from 'vue'
export default {
setup() {
const current1 = ref("1")
const current = ref("1")
return {
current1
current
}
}
}

View File

@ -38,8 +38,8 @@
},
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
"peerDependencies": {
"vue": "^3.2.19",
"vue-router": "^4.0.10"
"vue": "^3.2.20",
"vue-router": "^4.0.11"
},
"dependencies": {
"vue": "^3.2.20",

View File

@ -24,7 +24,7 @@ const slots = slot.default && slot.default()
const props = defineProps<{
type?: string
modelValue?: string
modelValue: string
}>()
// select update , change