remove unused code
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
import url from 'url'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Settings',
|
name: 'Settings',
|
||||||
@@ -19,12 +18,7 @@ export default {
|
|||||||
user: { }
|
user: { }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: mapState(['settings']),
|
||||||
...mapState(['settings']),
|
|
||||||
baseurl () {
|
|
||||||
return url.parse(this.settings.baseurl).host
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
// async change_password () {
|
// async change_password () {
|
||||||
// if (!this.password) { return }
|
// if (!this.password) { return }
|
||||||
|
|||||||
Reference in New Issue
Block a user