Skip to content

Commit 4d2fa65

Browse files
committed
Merge remote-tracking branch 'typeorm-remote/master' into zh_CN
2 parents 235cd4f + b7a0dab commit 4d2fa65

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

script/component/MainPage.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ const MainPage = {
105105
methods: {
106106
goToLink: function () {
107107
window.scrollTo(0, 0);
108+
109+
var scriptEl = document.createElement('script');
110+
scriptEl.setAttribute('src', '//cdn.carbonads.com/carbon.js?serve=CK7DL53W&placement=typeormio');
111+
scriptEl.setAttribute('id', '_carbonads_js');
112+
scriptEl.setAttribute('async', null);
113+
this.$refs.carbon.innerHTML = ''
114+
this.$refs.carbon.appendChild(scriptEl);
108115
},
109116
changeLang: function (locale) {
110117
$cookies.set("locale", locale);

script/constant/Links.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ const Links = [
226226
// url: "internals",
227227
// name: "Internals"
228228
// },
229-
{
230-
url: "roadmap",
231-
name: "Roadmap"
232-
},
229+
// {
230+
// url: "roadmap",
231+
// name: "Roadmap"
232+
// },
233233
{
234234
url: "changelog",
235235
name: "Changelog"

0 commit comments

Comments
 (0)