|
@@ -9,7 +9,8 @@
|
|
|
<div slot-scope="{ node, data }" class="custom-tree-node">
|
|
|
<div class="content">
|
|
|
<template v-if="data.depth < 3">
|
|
|
- <el-input v-model="data.categoryName" class="input" :disabled="isCheck" maxlength="6" size="mini"
|
|
|
+ <!-- maxlength="6" -->
|
|
|
+ <el-input v-model="data.categoryName" class="input" :disabled="isCheck" size="mini"
|
|
|
:placeholder="data.depth | placeholderTips" />
|
|
|
|
|
|
<el-upload class="upload-uploader" :on-success="handleImageSuccessOne" :multiple="false"
|
|
@@ -21,7 +22,8 @@
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<div class="content" :class="isCheck ? 'disabled' : ''">
|
|
|
- <el-input v-model="data.categoryName" class="input" :disabled="isCheck" size="mini" maxlength="6"
|
|
|
+ <!-- maxlength="6" -->
|
|
|
+ <el-input v-model="data.categoryName" class="input" :disabled="isCheck" size="mini"
|
|
|
placeholder="输入三级类别名称(最大6个字符)" />
|
|
|
<el-upload :headers="headers" :data="dataObj" :multiple="false" :show-file-list="false"
|
|
|
:file-list="data.categoryImgArray" :on-success="handleImageSuccess" class="upload-uploader"
|