Explorar o código

图片上传限制limit隐藏增加按钮

RuoYi %!s(int64=3) %!d(string=hai) anos
pai
achega
a08c28e509
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      src/components/ImageUpload/index.vue

+ 7 - 0
src/components/ImageUpload/index.vue

@@ -186,3 +186,10 @@ function listToString(list, separator) {
   return strs != "" ? strs.substr(0, strs.length - 1) : "";
 }
 </script>
+
+<style scoped lang="scss">
+// .el-upload--picture-card 控制加号部分
+::v-deep.hide .el-upload--picture-card {
+    display: none;
+}
+</style>