import Vue from "vue";
import { getDicts } from "@/api/system/dict/data";
export default function(){
    getDicts('iot_device_font_type').then(res => {
        let dic = {};
        res.data.forEach(item=>{
            dic[item.dictValue] = item.cssClass;
        });
        Vue.prototype.fontTypeDic = dic;
        Vue.prototype.fontTypeList = res.data;
        console.log(dic , "++==================");
        // console.log(fontTypeList, "字体类型");
    })
    getDicts('iot_devices_font_color').then(res => {
        
    })
    getDicts('iot_device_font_inScreen_mode').then(res => {
        
    })
    getDicts('iot_template_category').then(res => {
        
    })
    getDicts('iot_device_font_size').then(res => {
        
    })


}