Refactor code: Removed unnecessary refetch(query) calls
This commit is contained in:
parent
60cceef0ca
commit
b55f6f2235
@ -857,8 +857,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -1101,8 +1101,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -551,8 +551,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -538,8 +538,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -813,8 +813,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -900,8 +900,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -916,8 +916,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -676,8 +676,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -671,8 +671,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
@ -661,8 +661,6 @@ const getDetail = () => {
|
|||||||
query
|
query
|
||||||
)
|
)
|
||||||
|
|
||||||
refetch(query)
|
|
||||||
|
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
dataSub.value = queryResult.data.detailGangguan
|
dataSub.value = queryResult.data.detailGangguan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user