更改静态资源host

This commit is contained in:
haomingming
2023-05-10 10:49:40 +08:00
parent 807698b89f
commit 7ef82dab29
51 changed files with 155 additions and 153 deletions
+4
View File
@@ -20,6 +20,10 @@ Component({
type: String,
value: '示例备注',
},
static_host: {
type: String,
value: 'static_host',
},
upload_cell_note_show:{
type: Boolean,
value: true,
+1 -1
View File
@@ -11,7 +11,7 @@
</view>
<view class="upload-cell-input">
<van-uploader disabled="{{disabled}}" multiple="{{is_multiple}}" preview-full-image="{{true}}" file-list="{{ fileList }}" max-count="{{max_count}}" deletable="{{ deletable }}" bind:after-read="afterRead" bind:delete="delete" >
<van-image width="100" height="100" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/upload_button.png" />
<van-image width="100" height="100" src="{{static_host}}/applet/doctor/static/images/yishi/upload_button.png" />
</van-uploader>
</view>
<view class="error_box" wx:if="{{ has_error_content != '' }}" >