This commit is contained in:
parent
86d6fe7b04
commit
09d3740c67
|
@ -59,10 +59,10 @@ const props = defineProps<{
|
|||
tag?: string;
|
||||
}>();
|
||||
|
||||
// let tab = $ref('featured');
|
||||
let featured = $ref('featured');
|
||||
|
||||
const tab = $computed({
|
||||
get: () => $ref('featured'),
|
||||
get: () => featured,
|
||||
set: (x) => {
|
||||
syncSlide(['featured', 'users', 'search'].indexOf(x));
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue