lilei %!s(int64=4) %!d(string=hai) anos
pai
achega
34bb39579a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/basicData/expenseType/editModal.vue

+ 1 - 1
src/views/basicData/expenseType/editModal.vue

@@ -125,7 +125,7 @@ export default {
       } else {
       } else {
         //  获取父级分类 名称
         //  获取父级分类 名称
         if (this.nowData && this.nowData.namePaths) {
         if (this.nowData && this.nowData.namePaths) {
-          this.parentType = this.nowData.namePaths.replace(/,/g, '>')
+          this.parentType = this.nowData.namePaths.replace(/,/g, '>') + '>' + this.nowData.name
         } else {
         } else {
           this.parentType = ''
           this.parentType = ''
         }
         }