处理控制台的警告信息

This commit is contained in:
任珮宇 2023-12-08 13:35:26 +08:00
parent f2a9cc93ed
commit 59850929d2

View File

@ -16,15 +16,16 @@
import ModalMixin from '@/mixins/ModalMixin' import ModalMixin from '@/mixins/ModalMixin'
export default { export default {
mixins: [ModalMixin], mixins: [ModalMixin],
props: { props: ['percent', 'analysedFileName'],
percent: { // props: {
type: Number, // percent: {
}, // type: Number,
analysedFileName: { // },
type: Array, // analysedFileName: {
default: () => [], // type: Array,
}, // default: () => [],
}, // },
// },
watch: { watch: {
percent(newValue, oldValue) { percent(newValue, oldValue) {
if (newValue == 1) { if (newValue == 1) {