From-wh 2 лет назад
Родитель
Сommit
c6b814af07

+ 5 - 0
template/admin/package-lock.json

@@ -23078,6 +23078,11 @@
         "diff-match-patch": "^1.0.0"
       }
     },
+    "vue-cropper": {
+      "version": "0.5.11",
+      "resolved": "https://registry.npmmirror.com/vue-cropper/-/vue-cropper-0.5.11.tgz",
+      "integrity": "sha512-UeA3qL2BLCTGkOEAxEsxSNFO+qLYAn6YRHv4oS32cP9lMhF1vFmnAf/z+ZamtR0/Fh3sbZeZUCLVR2Ol2/dpTQ=="
+    },
     "vue-eslint-parser": {
       "version": "7.11.0",
       "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz",

+ 1 - 1
template/admin/src/pages/setting/user/index.vue

@@ -28,7 +28,7 @@
         </FormItem>
       </Form>
     </Card>
-    <Modal v-model="avatarMoadl" title="头像上传" width="700">
+    <Modal v-model="avatarMoadl" footer-hide title="头像上传" width="700">
       <CropperImg v-if="avatarMoadl" @uploadImgSuccess="uploadImgSuccess"></CropperImg>
     </Modal>
   </div>