af-mobile-client-vue3 1.3.39 → 1.3.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.3.39",
4
+ "version": "1.3.41",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -228,15 +228,16 @@ function handleActionSelect(option: any) {
228
228
  .uploader-container {
229
229
  display: flex;
230
230
  flex-direction: column;
231
+ // 默认图片上传区域高度会影响布局
232
+ width: 100%;
233
+ height: 100%;
231
234
  // 该属性会影响表单布局
232
235
  // gap: 16px;
233
236
  }
234
237
  .custom-upload-area {
235
238
  width: 100%;
236
- min-width: 220px;
237
- min-height: 100px;
238
- // 该属性会影响表单布局
239
- // margin: 0 auto 12px auto;
239
+ height: 100%;
240
+ min-height: 80px;
240
241
  box-sizing: border-box;
241
242
  border: 1px dashed #d9d9d9;
242
243
  border-radius: 10px;
@@ -246,7 +247,8 @@ function handleActionSelect(option: any) {
246
247
  align-items: center;
247
248
  justify-content: center;
248
249
  cursor: pointer;
249
- padding: 12px 0 10px 0;
250
+ padding: 8px 4px;
251
+ flex: 1;
250
252
  .upload-camera-img {
251
253
  width: 28px;
252
254
  height: 28px;
@@ -117,7 +117,6 @@ const resultLabel = computed(() => {
117
117
  readonly
118
118
  :border="false"
119
119
  :is-link="$attrs.disabled === undefined"
120
- error-message-align="right"
121
120
  @click="showPopu($attrs.readonly)"
122
121
  />
123
122
  <VanPopup v-model:show="show" position="bottom">
@@ -126,7 +126,6 @@ watch(() => resultValue, (newVal, _oldVal) => {
126
126
  readonly
127
127
  :is-link="true"
128
128
  :border="props.border"
129
- error-message-align="right"
130
129
  @click="showPopu($attrs.readonly)"
131
130
  />
132
131
  <VanPopup v-model:show="show" position="bottom">
package/vite.config.ts CHANGED
@@ -24,7 +24,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
24
24
 
25
25
  server: {
26
26
  host: true,
27
- port: 80,
27
+ port: 7190,
28
28
  allowedHosts: [
29
29
  'www.aofengcloud.com',
30
30
  '.aofengcloud.com',