refactor(webapp): 优化 Check 组件布局并更新阿里云 OCR 配置
- 调整 Check 组件中 a-col 的属性,使布局在不同屏幕尺寸下更加适应 - 更新阿里云 OCR 服务的 access_key_id 和 access_key_secret - 注释掉旧的 access_key_id 和 access_key_secret,以便备份
This commit is contained in:
parent
11530baefb
commit
2942a8e029
@ -51,8 +51,11 @@ class Service:
|
|||||||
# )
|
# )
|
||||||
config = Config(
|
config = Config(
|
||||||
type='access_key',
|
type='access_key',
|
||||||
access_key_id='LTAI5tHvCWb5uHZ9Q7iUJTLp',
|
access_key_id='LTAI5tCagGoJK3zb7de3mbgc',
|
||||||
access_key_secret='zKAL7WqvnJ0lN0GHsvJptAGRiuCOfM'
|
access_key_secret='a7u1SI7Kq1xo2pMBuQQzq1IR15h4ZZ'
|
||||||
|
|
||||||
|
# access_key_id = 'LTAI5tHvCWb5uHZ9Q7iUJTLp',
|
||||||
|
# access_key_secret = 'zKAL7WqvnJ0lN0GHsvJptAGRiuCOfM'
|
||||||
)
|
)
|
||||||
config.endpoint = f'ocr-api.cn-hangzhou.aliyuncs.com'
|
config.endpoint = f'ocr-api.cn-hangzhou.aliyuncs.com'
|
||||||
cred = CredentialClient(config)
|
cred = CredentialClient(config)
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-layout-content>
|
<a-layout-content>
|
||||||
<a-row >
|
<a-row >
|
||||||
<a-col :span="15">
|
<a-col :mx="15" :sm="24">
|
||||||
<!-- <v-stage v-if="fileType === 'img'" :config="stageConfig">-->
|
<!-- <v-stage v-if="fileType === 'img'" :config="stageConfig">-->
|
||||||
<!-- <v-layer>-->
|
<!-- <v-layer>-->
|
||||||
<!--<!– <v-image :config="{image: image,x:0,y:0}" />–>-->
|
<!--<!– <v-image :config="{image: image,x:0,y:0}" />–>-->
|
||||||
@ -14,7 +14,7 @@
|
|||||||
<iframe v-if="fileType==='pdf'" :src="fileUrl" class="pdf">
|
<iframe v-if="fileType==='pdf'" :src="fileUrl" class="pdf">
|
||||||
</iframe>
|
</iframe>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="8">
|
<a-col :mx="8" :sm="24">
|
||||||
<a-form
|
<a-form
|
||||||
:model="formState"
|
:model="formState"
|
||||||
name="basic"
|
name="basic"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user