Revert "change codefund"

This reverts commit 136d962c1e.
This commit is contained in:
花裤衩
2019-12-03 10:35:00 +08:00
parent 136d962c1e
commit 5d981eee7e
2 changed files with 5 additions and 45 deletions

View File

@@ -3,8 +3,7 @@
</template>
<script>
import load from './load'
import axios from 'axios'
export default {
data() {
return {
@@ -28,7 +27,10 @@ export default {
? '111'
: '96'
const template = 'horizontal'
load(`https://app.codefund.io/properties/${codefundId}/funder.js?template=${template}`)
axios.get(`https://codefund.io/properties/${codefundId}/funder.html?template=${template}`)
.then(function(response) {
document.getElementById('codefund').innerHTML = response.data
})
},
isGitee() {
const origin = window.location.origin