You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
751 B
28 lines
751 B
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 => {
|
|
|
|
})
|
|
|
|
|
|
}
|