|
@@ -7,7 +7,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { onMounted, ref, watch } from 'vue'
|
|
|
+import { onActivated, onMounted, ref } from 'vue'
|
|
|
import { getArrValue } from 'js-fast-way'
|
|
|
import initialgApi from '~api/initial/initial'
|
|
|
|
|
@@ -33,7 +33,7 @@ const contractId = ref(props.contractId)
|
|
|
const currentId = ref('')
|
|
|
|
|
|
//渲染完成
|
|
|
-onMounted(async () => {
|
|
|
+onActivated(async () => {
|
|
|
await getCurrentIdData()
|
|
|
getTableData()
|
|
|
})
|