mirror of
https://gitee.com/was666/as-editor.git
synced 2025-04-10 16:13:08 +08:00
perf: 优化重置功能
This commit is contained in:
parent
d366d992b3
commit
13920b2969
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<transition name="fade">
|
<!-- <transition name="fade"> -->
|
||||||
<router-view v-if="isRouterAlive" />
|
<router-view v-if="isRouterAlive" />
|
||||||
</transition>
|
<!-- </transition> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
load() {
|
load() {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$refs["iframe"].contentWindow.postMessage(this.val, "*");
|
this.$refs["iframe"].contentWindow.postMessage(this.val, "http://was666.gitee.io");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item class="lef" label="公众号名称">
|
<el-form-item class="lef" label="公众号名称">
|
||||||
<input type="text" placeholder="请输入公众号名称" />
|
<el-input type="text" v-model="datas.followName" placeholder="请输入公众号名称" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item class="lef" label="公众号Id">
|
<el-form-item class="lef" label="公众号Id">
|
||||||
<input type="text" placeholder="请输入公众号Id" />
|
<el-input type="text" v-model="datas.followAppId" placeholder="请输入公众号Id" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
@ -513,7 +513,6 @@ export default {
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$router.push({ path: 'home' })
|
|
||||||
this.reload()
|
this.reload()
|
||||||
})
|
})
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
|
@ -378,7 +378,7 @@ componentProperties.set('follow', {
|
|||||||
setStyle: {
|
setStyle: {
|
||||||
text: '关注公众号',
|
text: '关注公众号',
|
||||||
heade: 'https://imgs.starfirelink.com/miniShop//logo_1618466110849.png',
|
heade: 'https://imgs.starfirelink.com/miniShop//logo_1618466110849.png',
|
||||||
followName: '星火',
|
followName: '公众号名称',
|
||||||
followAppId: '',
|
followAppId: '',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user