/*
- @Description:
- @Author: hyh
- @Date: 2021-07-11 18:46:00
- @LastEditTime: 2021-07-11 18:46:00
- @LastEditors: hyh
*/
export default {
inheritAttrs: true,
props: {
value: String
},
data() {
return {
list: []
}
},
methods: {},
computed: {},
watch: {
value(newValue, oldValue) {
this.value = newValue;
}
},
mounted() {
queryByCode({code: this.$attrs.code}).then(res => {
this.list = res.data;
})
},
}