2 Commits a73807b212 ... ac7971b16e

Autore SHA1 Messaggio Data
  aliyun0758874076 ac7971b16e Merge branch 'master' of http://159.75.201.17:3000/zwq/tuanfeng-pc-admin 1 anno fa
  aliyun0758874076 632932b022 截除分类字数限制 1 anno fa

File diff suppressed because it is too large
+ 522 - 167
package-lock.json


+ 1 - 0
package.json

@@ -28,6 +28,7 @@
     "nprogress": "0.2.0",
     "path-to-regexp": "2.4.0",
     "screenfull": "^5.0.2",
+    "sortablejs": "^1.15.0",
     "swiper": "^5.4.5",
     "vue": "2.6.10",
     "vue-awesome-swiper": "^4.1.1",

+ 4 - 2
src/views/business/businessClass/Edit.vue

@@ -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"

+ 1 - 1
src/views/renovation/commdityClass/Edit.vue

@@ -8,7 +8,7 @@
       <el-alert :style="{ backgroundColor: '#fff' }" title="保存后将生效在移动端的分类里" type="info" :closable="false" />
       <el-tree
         class="tree-box" :data="treeData" :props="{ children: 'childs' }" node-key="id"
-        default-expand-all
+        default-expand-all draggable
         :expand-on-click-node="false"
       >
         <div slot-scope="{ node, data }" class="custom-tree-node">

Some files were not shown because too many files changed in this diff