| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { Icon } from 'vant'; |
| | | import { Icon, showToast } from 'vant'; |
| | | import assetsHead from "@/components/Transform/assets-head/index.vue"; |
| | | import { _helpCenter } from "@/service/user.api" |
| | | export default { |
| | |
| | | }).then((res) => { |
| | | this.listArr = res |
| | | }).catch((error) => { |
| | | if (error.code === 'ECONNABORTED') { this.$toast(this.$t('网络超时!')); } |
| | | else if (error.msg !== undefined) { this.$toast(this.$t(error.msg)); } |
| | | if (error.code === 'ECONNABORTED') { showToast(this.$t('网络超时!')); } |
| | | else if (error.msg !== undefined) { showToast(this.$t(error.msg)); } |
| | | }); |
| | | }, |
| | | } |