Commit bd42a0a7 by test

组织架构条件限制

1 parent 6a3510d0
......@@ -18,8 +18,9 @@
</div>
<div>
<div style="margin:10px 0;display:flex;">
<el-button type="primary" size="mini" @click="gotoRoute">发表动态</el-button>
<el-button type="primary" :disabled="disable" size="mini" @click="syncFn">同步朋友圈</el-button>
<el-button type="primary" size="mini" @click="gotoRoute" style="margin-right:10px;">发表动态</el-button>
<!-- <el-button type="primary" :disabled="disable" size="mini" @click="syncFn">同步朋友圈</el-button> -->
<ButtonSync :lastSyncTime="lastSyncTime" @click="syncFn">同步朋友圈</ButtonSync>
<div class="time" v-if="lastSyncTime">最近同步:{{lastSyncTime}}</div>
<div class="time" v-else>暂无记录,请手动点击同步</div>
</div>
......
......@@ -203,14 +203,13 @@
if (dd.annexType === 'link') {
let reUrl = /(http|https):\/\/([\w.]+\/?)\S*/
if (!reUrl.test(dd.annexUrl)) {
console.log(123)
goto = false
dd.contentError = '必须以 http://或 https://开头'
}
}
})
this.$forceUpdate()
if (this.form.otherContent.length) {
if (!this.form.otherContent.length) {
this.form.contentType = 'text'
}
if (goto) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!