mirror of https://github.com/halo-dev/halo-admin
Auto input blog address.
parent
4e6a6b9fc0
commit
4c0ccd3939
|
@ -118,21 +118,13 @@
|
||||||
<a-form-item class="animated fadeInUp">
|
<a-form-item class="animated fadeInUp">
|
||||||
<a-input
|
<a-input
|
||||||
v-model="installation.url"
|
v-model="installation.url"
|
||||||
placeholder="博客地址(选填)"
|
placeholder="博客地址"
|
||||||
>
|
>
|
||||||
<a-icon
|
<a-icon
|
||||||
slot="prefix"
|
slot="prefix"
|
||||||
type="link"
|
type="link"
|
||||||
style="color: rgba(0,0,0,.25)"
|
style="color: rgba(0,0,0,.25)"
|
||||||
/>
|
/>
|
||||||
<a-select
|
|
||||||
slot="addonBefore"
|
|
||||||
defaultValue="http://"
|
|
||||||
style="width: 90px"
|
|
||||||
>
|
|
||||||
<a-select-option value="http://">http://</a-select-option>
|
|
||||||
<a-select-option value="https://">https://</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item
|
<a-form-item
|
||||||
|
@ -236,6 +228,9 @@ export default {
|
||||||
stepCurrent: 0
|
stepCurrent: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.installation.url = window.location.protocol+"//"+window.location.host
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleMigrationUpload(data) {
|
handleMigrationUpload(data) {
|
||||||
this.$log.debug('Selected data', data)
|
this.$log.debug('Selected data', data)
|
||||||
|
|
Loading…
Reference in New Issue