chore(组件): 引入DiyMinx的js及修复组件错误
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
<script>
|
||||
// 辅助空白
|
||||
import DiyMinx from './minx.js'
|
||||
export default {
|
||||
name: 'diy-horz-blank',
|
||||
props: {
|
||||
@@ -11,15 +12,16 @@ export default {
|
||||
type: Object
|
||||
}
|
||||
},
|
||||
mixins: [DiyMinx],
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
watch: {
|
||||
// 组件刷新监听
|
||||
componentRefresh: function(nval) {}
|
||||
componentRefresh: function (nval) { }
|
||||
},
|
||||
computed: {
|
||||
horzBlankGaugeWrap: function() {
|
||||
horzBlankGaugeWrap: function () {
|
||||
var obj = '';
|
||||
obj += 'background-color:' + this.value.componentBgColor + ';';
|
||||
if (this.value.componentAngle == 'round') {
|
||||
@@ -32,7 +34,7 @@ export default {
|
||||
return obj;
|
||||
}
|
||||
},
|
||||
created() {},
|
||||
created() { },
|
||||
methods: {}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user