数据库乱搞,定制方案字典本地代码化

This commit is contained in:
aixianling
2023-03-23 11:29:50 +08:00
parent d2a2f5d702
commit c02b19f3eb
2 changed files with 12 additions and 4 deletions

View File

@@ -24,7 +24,16 @@ export default {
}
},
created() {
this.dict.load('yesOrNo', 'systemType', 'appsCategory')
this.dict.setStorage([{
key: "systemType",
name: "系统类型",
values: [
{dictValue: "web", dictName: "web端"},
{dictValue: "mp", dictName: "小程序"},
{dictValue: "h5", dictName: "移动端H5"},
]
}])
this.dict.load('yesOrNo')
}
}
</script>