调整自动引入
This commit is contained in:
18
components/AiDict/AiDict.vue
Normal file
18
components/AiDict/AiDict.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<span class="AiDict" :style="{color:$dict.getColor(dict,value)}" v-text="$dict.getLabel(dict,value)"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "AiDict",
|
||||
props: {
|
||||
value: {default: ""},
|
||||
dict: {default: ""}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AiDict {
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user