移动端日历页
This commit is contained in:
@@ -62,10 +62,24 @@ export default {
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue"
|
||||
import { getCurrentInstance, onUnmounted } from 'vue'
|
||||
const { proxy } = (getCurrentInstance() as any)
|
||||
const state = ref(1)
|
||||
// const drawer = ref(true)
|
||||
const setState = (number: number) => {
|
||||
state.value = number;
|
||||
if(number == 1){
|
||||
proxy.$router.push("/home")
|
||||
}
|
||||
if(number == 2){
|
||||
proxy.$router.push("/dashboard")
|
||||
}
|
||||
if(number == 3){
|
||||
proxy.$router.push("/IPO")
|
||||
}
|
||||
if(number == 4){
|
||||
proxy.$router.push("/IPOcalendar")
|
||||
}
|
||||
}
|
||||
// const openDrawer = () => {
|
||||
// drawer.value = false;
|
||||
|
||||
Reference in New Issue
Block a user