The Cascader cascade selector of elementui in vue

<el-form-item label="" label-width="120px" prop="ProductTypeId">
    <el-cascader :props="{
           label: "ProductTypeName",
          children: "ChildNodeList",
          value: "ProductTypeId"
                 }"
      :options="options" v-model="EnterForm.ProductTypeId" :change-on-select="true">
    </el-cascader>
  </el-form-item>
  
  id1,2 2 id

Mar.02,2022

I looked at the document and it didn't seem to work. You can uniformly process the data before submitting it, taking the last item in the array. But the problem is that if the form needs to be edited, you won't be able to find the selected item.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b375c2-2adcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b375c2-2adcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?