ci: 升级全局依赖
This commit is contained in:
@@ -123,4 +123,4 @@ export default {
|
||||
|
||||
| | | |
|
||||
| ----------- | ------------ | ------- |
|
||||
| jump | 切换回调 | -- |
|
||||
| jump | 切换回调 | { current: 当前页面 } |
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user