|
@@ -47,8 +47,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { nextTick, ref, watch } from 'vue'
|
|
|
-import { getArrValue, getObjVal, getObjValue, isArrIndex } from 'js-fast-way'
|
|
|
+import { ref, watch } from 'vue'
|
|
|
+import { getArrValue, isArrIndex } from 'js-fast-way'
|
|
|
import mainApi from '~api/desk/test-collect'
|
|
|
import { setStoreValue } from '~uti/storage'
|
|
|
|
|
@@ -92,13 +92,15 @@ watch(() => props.data, (data) => {
|
|
|
|
|
|
}, { immediate: true, deep: true })
|
|
|
watch(() =>linkedData.value, (data) => {
|
|
|
- setStoreValue('tableId,data')
|
|
|
+ setStoreValue('tableId', data)
|
|
|
|
|
|
}, { immediate: true, deep: true })
|
|
|
|
|
|
//监听显示
|
|
|
watch(isShow, (val) => {
|
|
|
- if (val) getDataApi()
|
|
|
+ if (val) {
|
|
|
+getDataApi()
|
|
|
+}
|
|
|
infoDetail.value = { tabName:'',
|
|
|
elementName:'' }
|
|
|
formModel.value = {
|