Skip to content

Commit

Permalink
feat: 移除无用的 __filename 设置
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Apr 21, 2020
1 parent c0e83de commit c19ff32
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 100 deletions.
5 changes: 0 additions & 5 deletions src/views/demo/components/container/card-bs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/card-slot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/full-bs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/full-slot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/full.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/ghost-bs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/ghost-slot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/demo/components/container/ghost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import d2DemoArticle from './components/d2-demo-article'
export default {
components: {
'd2-demo-article': d2DemoArticle
},
data () {
return {
filename: __filename
}
}
}
</script>
10 changes: 0 additions & 10 deletions src/views/demo/components/icon/icon-svg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
</d2-container>
</template>

<script>
export default {
data () {
return {
filename: __filename
}
}
}
</script>

<style lang="scss" scoped>
.icon-card {
display: flex;
Expand Down
10 changes: 0 additions & 10 deletions src/views/demo/components/icon/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@
</d2-container>
</template>

<script>
export default {
data () {
return {
filename: __filename
}
}
}
</script>

<style lang="scss" scoped>
.icon-demo {
transition: all .3s;
Expand Down
10 changes: 0 additions & 10 deletions src/views/demo/components/markdown/url.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,3 @@
<d2-markdown url="markdown/demo.md"/>
</d2-container>
</template>

<script>
export default {
data () {
return {
filename: __filename
}
}
}
</script>
10 changes: 0 additions & 10 deletions src/views/demo/frame/d2-doc/index.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
<template>
<d2-container-frame src="https://d2.pub/zh/doc/d2-admin"/>
</template>

<script>
export default {
data () {
return {
filename: __filename
}
}
}
</script>
10 changes: 0 additions & 10 deletions src/views/demo/frame/html/index.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
<template>
<d2-container-frame :src="`${$baseUrl}html/demo.html`"/>
</template>

<script>
export default {
data () {
return {
filename: __filename
}
}
}
</script>
5 changes: 0 additions & 5 deletions src/views/system/index/page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ export default {
D2Badge,
D2Help,
D2PageCover
},
data () {
return {
filename: __filename
}
}
}
</script>
Expand Down

0 comments on commit c19ff32

Please sign in to comment.