Skip to content

Commit

Permalink
fix: 🐛 修复小程序环境打包失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Sep 14, 2023
1 parent 0852819 commit 14c9645
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 23 deletions.
4 changes: 1 addition & 3 deletions src/components/dict-picker/dict-picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<u-input
:model-value="showValue"
:placeholder="placeholder"
v-bind="{
border: 'none',
}"
border="none"
readonly
></u-input>
</view>
Expand Down
16 changes: 4 additions & 12 deletions src/pages/realname/components/Base/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
ref="uForm"
label-position="left"
:model="formData"
v-bind="{
labelWidth: 90,
}"
:label-width="90"
>
<u-form-item label="性别" prop="userSex" border-bottom>
<u-radio-group
Expand All @@ -37,9 +35,7 @@
<u--input
:model-value="value"
placeholder="请选择户籍信息"
v-bind="{
border: 'none',
}"
border="none"
readonly
></u--input>
</view>
Expand All @@ -54,19 +50,15 @@
<u--input
v-model="formData.realName"
placeholder="请输入户主姓名"
v-bind="{
border: 'none',
}"
border="none"
></u--input>
</u-form-item>
<u-form-item label="手机号" prop="userPhone" border-bottom>
<view class="flex">
<u--input
v-model="formData.userPhone"
placeholder="请输入手机号"
v-bind="{
border: 'none',
}"
border="none"
></u--input>
<view class="flex-none pl-1">
<u-button
Expand Down
8 changes: 2 additions & 6 deletions src/pages/realname/components/Identity/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,14 @@
<u-input
v-model="formData.realName"
placeholder="请输入姓名"
v-bind="{
border: 'none',
}"
border="none"
></u-input>
</u-form-item>
<u-form-item label="身份证号" prop="idcardNo" :border-bottom="true">
<u-input
v-model="formData.idcardNo"
placeholder="请输入身份证号"
v-bind="{
border: 'none',
}"
border="none"
></u-input>
</u-form-item>
</u-form>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/webview/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<web-view class="h-full" v-bind="viewProps" :src="viewProps.src"></web-view>
<web-view class="h-full" :src="viewProps.src"></web-view>
</template>

<script>
Expand All @@ -12,12 +12,12 @@ export default {
}
},
onLoad(params) {
this.viewProps = params
if (params.title) {
uni.setNavigationBarTitle({
title: params.title,
})
}
this.viewProps = params
},
}
</script>
Expand Down

0 comments on commit 14c9645

Please sign in to comment.