chenrui %!s(int64=4) %!d(string=hai) anos
pai
achega
213be6bc22
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/productManagement/productCategory/editModal.vue

+ 1 - 0
src/views/productManagement/productCategory/editModal.vue

@@ -126,6 +126,7 @@ export default {
         if (this.nowData && this.nowData.namePaths) {
           let namePathsArr = []
           namePathsArr = this.nowData.namePaths.split(',')
+          namePathsArr = namePathsArr.slice(0, namePathsArr.length - 1)
           this.parentType = ''
           namePathsArr.map((item, index) => {
             this.parentType += item + ' > '