Commit 3ef67b0fdf5f0d6f5eb3d119b52d14287c6ef9a6

Authored by 黄 x
1 parent 382d2039

fix(front): 解决nextTick打包问题

@@ -29,14 +29,13 @@ @@ -29,14 +29,13 @@
29 </div> 29 </div>
30 </template> 30 </template>
31 <script lang="ts"> 31 <script lang="ts">
32 - import { defineComponent, reactive, ref, getCurrentInstance, onUnmounted } from 'vue'; 32 + import { defineComponent, reactive, ref, getCurrentInstance, onUnmounted, nextTick } from 'vue';
33 import { BasicForm, useForm } from '/@/components/Form'; 33 import { BasicForm, useForm } from '/@/components/Form';
34 import { step2Schemas } from './data'; 34 import { step2Schemas } from './data';
35 import { Alert, Divider, Descriptions } from 'ant-design-vue'; 35 import { Alert, Divider, Descriptions } from 'ant-design-vue';
36 import { Button } from '/@/components/Button'; 36 import { Button } from '/@/components/Button';
37 import MqttCpns from '../step/cpns/mqtt/Mqtt.vue'; 37 import MqttCpns from '../step/cpns/mqtt/Mqtt.vue';
38 import CoapCpns from '../step/cpns/coap/Coap.vue'; 38 import CoapCpns from '../step/cpns/coap/Coap.vue';
39 - import { nextTick } from 'process';  
40 39
41 export default defineComponent({ 40 export default defineComponent({
42 components: { 41 components: {