{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/components/Category/info.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/components/Category/info.vue","mtime":1701742078542},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/babel.config.js","mtime":1701742078504},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n\n// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\n\nimport * as categoryApi from '@/api/categoryApi.js';\nexport default {\n  props: {\n    id: {\n      type: Number,\n      required: true\n    }\n  },\n  data: function data() {\n    return {\n      defaultProps: {\n        children: 'children',\n        label: 'label'\n      },\n      ddd: [{\n        label: '一级 1',\n        children: [{\n          label: '二级 1-1',\n          children: [{\n            label: '三级 1-1-1'\n          }]\n        }]\n      }, {\n        label: '一级 2',\n        children: [{\n          label: '二级 2-1',\n          children: [{\n            label: '三级 2-1-1'\n          }]\n        }, {\n          label: '二级 2-2',\n          children: [{\n            label: '三级 2-2-1'\n          }]\n        }]\n      }, {\n        label: '一级 3',\n        children: [{\n          label: '二级 3-1',\n          children: [{\n            label: '三级 3-1-1'\n          }]\n        }, {\n          label: '二级 3-2',\n          children: [{\n            label: '三级 3-2-1'\n          }]\n        }]\n      }],\n      dataList: {\n        // 数据结果\n        page: 0,\n        limit: 0,\n        totalPage: 0,\n        total: 0,\n        list: []\n      }\n    };\n  },\n  mounted: function mounted() {\n    this.handlerGetTreeList(this.id);\n  },\n  methods: {\n    handlerGetTreeList: function handlerGetTreeList(id) {\n      var _this = this;\n      if (!id) {\n        this.$message.error('当前数据id不正确');\n        return;\n      }\n      categoryApi.treeCategroy({\n        pid: id\n      }).then(function (data) {\n        _this.dataList = data;\n      });\n    },\n    handleNodeClick: function handleNodeClick(data) {\n      console.log('data:', data);\n    }\n  }\n};",null]}