Browse Source

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

RuoYi 3 năm trước cách đây
mục cha
commit
a08c28e509
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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>