| | |
| | | </template> |
| | | |
| | | <script scope> |
| | | import { ref } from 'vue'; |
| | | export default { |
| | | import { ref, onMounted, getCurrentInstance, defineComponent} from 'vue'; |
| | | export default defineComponent({ |
| | | name: 'account', |
| | | setup() { |
| | | const activeNames = ref(['1']); |
| | | return { activeNames }; |
| | | const activeNames = ref(['1']) |
| | | const { proxy } = getCurrentInstance(); |
| | | onMounted(() => { |
| | | proxy.$axios({ |
| | | url: '/dapp/common/isApprove/' + '312', |
| | | method: 'get' |
| | | }).then((res) => { |
| | | console.log(res) |
| | | }).catch((err) => { |
| | | console.log(err) |
| | | }) |
| | | }) |
| | | return { activeNames }; |
| | | }, |
| | | methods: { |
| | | |
| | | } |
| | | } |
| | | }) |
| | | </script> |
| | | |
| | | <style scoped> |