替换v-model API 为 defineModel
This commit is contained in:
@@ -129,6 +129,7 @@ import DashboardTable from '@/view/dashboard/dashboardTable/dashboardTable.vue'
|
||||
import { ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useWeatherInfo } from '@/view/dashboard/weather.js'
|
||||
import SelectImage from '@/components/selectImage/selectImage.vue'
|
||||
|
||||
defineOptions({
|
||||
name: 'Dashboard'
|
||||
@@ -136,6 +137,9 @@ defineOptions({
|
||||
|
||||
const weatherInfo = useWeatherInfo()
|
||||
|
||||
const testImg = ref('')
|
||||
const testImgs = ref([])
|
||||
|
||||
const toolCards = ref([
|
||||
{
|
||||
label: '用户管理',
|
||||
|
||||
Reference in New Issue
Block a user