|
|
@@ -15,7 +15,7 @@ import CImage from './CImage.vue'
|
|
|
import CVideo from './CVideo.vue'
|
|
|
import CTime from './CTime.vue'
|
|
|
import CWeather from './CWeather.vue'
|
|
|
-import CWeb from './CWeb.vue'
|
|
|
+import CWeb from './CWebViewer.vue'
|
|
|
|
|
|
export default {
|
|
|
name: 'Widget',
|
|
|
@@ -42,12 +42,10 @@ export default {
|
|
|
return this.node.type
|
|
|
},
|
|
|
styles () {
|
|
|
- const { top, left, width, height } = this.node
|
|
|
+ const { top, left } = this.node
|
|
|
return {
|
|
|
top: `${top}px`,
|
|
|
- left: `${left}px`,
|
|
|
- width: `${width}px`,
|
|
|
- height: `${height}px`
|
|
|
+ left: `${left}px`
|
|
|
}
|
|
|
}
|
|
|
}
|