problem description
use the enum.js component, the text is difficult to say, please take a look at the picture, the problem is this, please pass by the guide, a little urgent
the environmental background of the problems and what methods you have tried
import {enumWarrantWayType} from"@ / plugins/enum"
export default {
components: {
},
props: {},
data() {
return {
enumWarrantWayType,
tableData: [],
editVisible: false,
editData: {},
tableId: "",
tableName: "datum_customer_warrant",
formData: {
warrant_type: { type: "radio", label: "", value: "1", inline: true, enumType: enumWarrantType },
warrant_way: { type: "component", label: "", value: "1", enumType: enumWarrantWayType, hide: false },
}
}
related codes
/ / Please paste the code text below (do not replace the code with pictures)
when I choose the first name (there are three forms of the name), the way I choose the first name (there are three forms of name) is to appear in the following picture, which is similar to the one in the following picture, which is 1, 2, and 3, 17, and when I choose the second, it is similar.
what result do you expect? What is the error message actually seen?
is there any big god who can give me some advice?