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