This commit is contained in:
2025-11-14 16:07:49 +08:00
parent 98c8b613d0
commit bcf120b1c8
3 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,8 @@ import demandVue from '@/views/task/simulationTask/newDemand/index.vue';
const demandRef = ref();
const visibleDialog = ({ visible, row }) => {
const visibleDialog = (data: any) => {
const { visible } = data;
if (visible) {
nextTick(() => {
console.log('visibleDialog demandRef.value', demandRef.value, JSON.stringify(demandRef.value));

View File

@@ -69,7 +69,7 @@ export const objectTypeArrayRemovesDuplicates = (arr: any[], type: number) => {
* @param delayTime 延迟的时间
*/
export const delayTime = async (delayTime: number) => {
await new Promise((resolve, reject) => {
await new Promise((resolve) => {
setTimeout(() => {
resolve('');
}, delayTime);

View File

@@ -30,7 +30,6 @@ import Dialog from '@/components/common/dialog/index.vue';
import type { FormInstance, FormRules } from 'element-plus';
import { useI18n } from 'vue-i18n';
import type { Pool } from './types';
import type { sassFalse } from 'sass-embedded';
const { t } = useI18n();
interface Props {