Skip to content

Commit

Permalink
🐌webdav
Browse files Browse the repository at this point in the history
  • Loading branch information
Hello-hao committed Jan 23, 2024
1 parent 0ed1dc3 commit 2574f08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/views/admin/storage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
<Input v-model="addAccessSecret" size="large" style="width: 100%" />
</FormItem>
<FormItem label="地址">
<Tooltip max-width="300" theme="light" style="width: 100%">
<Tooltip max-width="300" theme="light" content="需带有http://或https:// 结尾不需要带/" style="width: 100%">
<Input v-model="addEndpoint" size="large" style="width: 100%" />
</Tooltip>
</FormItem>
Expand All @@ -181,7 +181,7 @@
</Tooltip>
</span>
</FormItem>
<FormItem label="请求域名" v-if="(!systransmit) && bucketType==9">
<FormItem label="请求域名" v-if="(!systransmit) && bucketType==9 && bucketType!=5">
<Tooltip content="需带有http://或https:// 结尾不需要带/" max-width="200" theme="light" style="width: 100%">
<Input v-model="addRequestAddress" size="large"
style="width: 100%"/>
Expand Down
24 changes: 7 additions & 17 deletions src/views/upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,14 @@
</div>
</Card>

<CoolLightBox
:items="uploadList"
:index="imgIndex"
loop
@close="imgIndex = null">
</CoolLightBox>

<Modal v-model="visible" :footer-hide="true" width="620">
<!-- <img :src="ViewURL" v-if="visible" style="max-height: 70vh; display: table-cell;margin: 0 auto;text-align: center;">-->
<Tabs>
<TabPane label="画廊" icon="ios-images">
<album-list :albumlist="albumlist" @return-data='returnData'/>
Expand Down Expand Up @@ -158,20 +164,6 @@
<!--URL上传窗-->
<Modal v-model="urlUploadMsg" :footer-hide="true">
<br/>
<!-- <Form @submit.native.prevent>-->
<!-- <FormItem>-->
<!-- <Input @on-change="onGetLines" type="textarea" v-model="imgUrl" :rows="5"-->
<!-- placeholder="图像链接请按照每行一条填写(部分非直链图像或防盗链图像可能会转存失败)"/>-->
<!-- </FormItem>-->
<!-- <p style="text-align: center;color: #d55757;" v-show="tempURLErr">您所输入的行数已经超过单次可上传的数量</p>-->
<!-- <p style="text-align: center;color: #5f5f5f;"-->
<!-- v-text="'单次批量上传 '+tempLink+'/'+this.uploadInfo.imgcount"></p>-->
<!-- <FormItem>-->
<!-- <Button :disabled="tempURLErr" type="primary" :loading="loading" icon="md-cloud-upload" long shape="circle"-->
<!-- @click="uploadForUrl">开始转存-->
<!-- </Button>-->
<!-- </FormItem>-->
<!-- </Form>-->
<Form @submit.native.prevent>
<FormItem >
<Input @on-change="onGetLines" type="textarea" v-model="imgUrl" :rows="5" placeholder="图像链接请按照每行一条填写(部分非直链图像可能会转存失败)" />
Expand Down Expand Up @@ -203,8 +195,6 @@
</FormItem>
</Form>
</Modal>


<!--上传期限-->
<Modal v-model="termMsg" :footer-hide="true">
<br/>
Expand Down

0 comments on commit 2574f08

Please sign in to comment.