feat: 解决可能出错的地方
This commit is contained in:
@ -65,7 +65,7 @@
|
||||
|
||||
<script setup>
|
||||
import { IdCard } from '@/utils/validate.js'
|
||||
import { reactive, ref, getCurrentInstance, watch } from "vue";
|
||||
import { reactive, ref, getCurrentInstance, watch, defineEmits } from "vue";
|
||||
import { qcckGet, qcckPost } from "@/api/qcckApi.js";
|
||||
import HolographicArchive from './holographicArchive.vue'
|
||||
import WarningAssignment from './warningAssignment.vue'
|
||||
@ -85,10 +85,10 @@ const props = defineProps({
|
||||
default: false
|
||||
}
|
||||
});
|
||||
const emit = defineEmits(["plotThetrajectory", "showDetail", 'showFeedback','fkLxOptions']);
|
||||
watch(() => props.item, (newVal, oldVal) => {
|
||||
emit('fkLxOptions', newVal);
|
||||
},{deep:true,immediate:true})
|
||||
const emit = defineEmits(["plotThetrajectory", "showDetail", 'showFeedback','fkLxOptions']);
|
||||
|
||||
const showTransfer = (item) => {
|
||||
router.push({
|
||||
|
||||
Reference in New Issue
Block a user