mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
解决defineOptions的报错
This commit is contained in:
@@ -45,11 +45,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {computed, reactive,defineOptions} from "vue";
|
import {computed, reactive,defineComponent} from "vue";
|
||||||
import {studentUrl,teacherUrl} from "@/api/method";
|
import {studentUrl,teacherUrl} from "@/api/method";
|
||||||
import router from "@/router";
|
import router from "@/router";
|
||||||
import {useStore, createStore} from "vuex";
|
import {useStore, createStore} from "vuex";
|
||||||
defineOptions({inheritAttrs:false,name:"NavTop"})
|
defineComponent({inheritAttrs:false,name:"NavTop"})
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user