Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: clarkdo/hare
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e5c1c791bb5074a7a675e6f826ba50e899d2cf75
Choose a base ref
..
head repository: clarkdo/hare
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5dbec3b2c2b7d57f6f027d83b79915a32971d5d2
Choose a head ref
1 change: 0 additions & 1 deletion client/components/examples/activity/NewActivity.vue
Original file line number Diff line number Diff line change
@@ -221,7 +221,6 @@ export default class NewActivity extends Vue {
this.$refs[formName].validate((valid) => {
if (valid) {
this.addActivity(this.formData)
// this.$store.dispatch('examples/activity/add', this.formData)
this.$message.success(this.$t('activity.success'))
if (formName === 'popForm') {
this.popVisible = false
14 changes: 14 additions & 0 deletions client/pages/about.vue
Original file line number Diff line number Diff line change
@@ -4,3 +4,17 @@
<p>Hello, I am the about page :)</p>
</div>
</template>

<script>
import Vue from 'vue'
import Component from 'class-component'
@Component({
head () {
return {
title: 'About'
}
}
})
export default class About extends Vue {}
</script>
5 changes: 5 additions & 0 deletions client/pages/examples/activity/create.vue
Original file line number Diff line number Diff line change
@@ -19,6 +19,11 @@ import NewActivity from '@/components/examples/activity/NewActivity'
@Component({
components: {
NewActivity
},
head () {
return {
title: 'Examples Activity Create'
}
}
})
export default class Create extends Vue {
7 changes: 6 additions & 1 deletion client/pages/examples/activity/index.vue
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
<el-card style="width:90%">
<div slot="header">
<span>{{$t('nav.list')}}</span>
&nbsp;<small>(<a href="/hpi/examples/activities" target="_blank">/hpi/examples/activities</a>)</small>
&nbsp;<small>(<a href="/hpi/examples/activity" target="_blank">/hpi/examples/activity</a>)</small>
</div>
<el-table
ref="tb"
@@ -143,6 +143,11 @@ const ActivityGetter = namespace('examples/activity', Getter)
filterTag (value, row) {
return row.type === value
}
},
head () {
return {
title: 'Examples Activity Index'
}
}
})
export default class ExamplesActivity extends Vue {
5 changes: 5 additions & 0 deletions client/pages/examples/charts.vue
Original file line number Diff line number Diff line change
@@ -86,6 +86,11 @@ import ReactiveDemo from '@/components/examples/charts/ReactiveDemo'
ScatterDemo,
DoughnutDemo,
ReactiveDemo
},
head () {
return {
title: 'Examples Charts'
}
}
})
export default class Charts {
5 changes: 5 additions & 0 deletions client/pages/examples/index.vue
Original file line number Diff line number Diff line change
@@ -159,6 +159,11 @@ const ExampleGetter = namespace('examples/index', Getter)
...mapActions('examples/index', [
'checkCity'
])
},
head () {
return {
title: 'Examples'
}
}
})
export default class Demo extends Vue {
5 changes: 5 additions & 0 deletions client/pages/index.vue
Original file line number Diff line number Diff line change
@@ -19,6 +19,11 @@ import ForkThis from '@/components/ForkThis'
const SessionGetter = namespace('session', Getter)
@Component({
head () {
return {
title: 'Home'
}
},
components: {
ForkThis
}
8 changes: 7 additions & 1 deletion client/pages/login.vue
Original file line number Diff line number Diff line change
@@ -53,7 +53,13 @@ import Vue from 'vue'
import debounce from '@/utils/debounce'
import Component from 'class-component'
@Component
@Component({
head () {
return {
title: 'Sign In'
}
}
})
export default class Login extends Vue {
user = {
userName: '',