Commit 5c3d2f34 by 胡悦

去掉主题

1 parent 3d08b5ff
...@@ -17,12 +17,12 @@ Vue.use(ElementUI) ...@@ -17,12 +17,12 @@ Vue.use(ElementUI)
var mixin = { var mixin = {
mounted() { mounted() {
const _this = this const _this = this
const theme = new this.$Theme() // const theme = new this.$Theme()
const connection = this.$Penpal.connectToParent({ const connection = this.$Penpal.connectToParent({
methods: { methods: {
setTheme(color) { // setTheme(color) {
theme.change(color) // theme.change(color)
}, // },
height() { height() {
return document.height || document.body.offsetHeight // document.documentElement.clientHeight || document.body.clientHeight // return document.height || document.body.offsetHeight // document.documentElement.clientHeight || document.body.clientHeight //
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!