mirror of
https://github.com/doocs/md.git
synced 2024-11-24 11:00:33 +08:00
chore: update upload dialog (#373)
This commit is contained in:
parent
0730e548cf
commit
db77113d6e
6
package-lock.json
generated
6
package-lock.json
generated
@ -3799,9 +3799,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001653",
|
||||
"resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001653.tgz",
|
||||
"integrity": "sha512-XGWQVB8wFQ2+9NZwZ10GxTYC5hk0Fa+q8cSkr0tgvMhYhMHP/QC+WTgrePMDBWiWc/pV+1ik82Al20XOK25Gcw==",
|
||||
"version": "1.0.30001655",
|
||||
"resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz",
|
||||
"integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
@ -7,7 +7,6 @@ import CodemirrorEditor from '@/views/CodemirrorEditor.vue'
|
||||
</template>
|
||||
|
||||
<style lang="less">
|
||||
// 仿 uniapp 外层全屏
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
|
@ -235,7 +235,6 @@ function saveQiniuConfiguration() {
|
||||
&& formQiniu.value.secretKey
|
||||
&& formQiniu.value.bucket
|
||||
&& formQiniu.value.domain
|
||||
&& formQiniu.value.region
|
||||
)
|
||||
) {
|
||||
ElMessage.error(`七牛云 Kodo 参数配置不全`)
|
||||
@ -447,8 +446,8 @@ function uploadImage(params) {
|
||||
<el-form-item label="Bucket 对应域名" :required="true">
|
||||
<el-input v-model.trim="formQiniu.domain" placeholder="如:https://images.123ylb.cn" />
|
||||
</el-form-item>
|
||||
<el-form-item label="存储区域" :required="true">
|
||||
<el-input v-model.trim="formQiniu.region" placeholder="如:z2" />
|
||||
<el-form-item label="存储区域" :required="false">
|
||||
<el-input v-model.trim="formQiniu.region" placeholder="如:z2,可不填" />
|
||||
</el-form-item>
|
||||
<el-form-item label="存储路径" :required="false">
|
||||
<el-input v-model.trim="formQiniu.path" placeholder="如:img,可不填,默认为根目录" />
|
||||
@ -527,7 +526,6 @@ function uploadImage(params) {
|
||||
width: 55%;
|
||||
min-width: 640px;
|
||||
min-height: 615px;
|
||||
// 消除固定的行内样式,配合 flex 布局居中元素
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ export * from './theme'
|
||||
|
||||
export const prefix = `MD`
|
||||
|
||||
const isMac = window.navigator.platform === `MacIntel`
|
||||
const isMac = /Mac/i.test(navigator.userAgent)
|
||||
|
||||
export const ctrlKey = isMac ? `Cmd` : `Ctrl`
|
||||
export const altKey = `Alt`
|
||||
|
Loading…
Reference in New Issue
Block a user