|
|
|
@ -9,7 +9,7 @@ |
|
|
|
<el-tag v-if="editForm.tagNames">{{editForm.tagNames?editForm.tagNames:''}} </el-tag> |
|
|
|
<el-button type="text" icon="el-icon-plus" @click="tagSelectVisible=true">标签</el-button> |
|
|
|
<el-divider direction="vertical"></el-divider> |
|
|
|
<el-button type="text" icon="el-icon-copy" @click="copyLink=true">拷贝链接</el-button> |
|
|
|
<el-button type="text" icon="el-icon-copy" @click="copyLink">拷贝链接(快速分享)</el-button> |
|
|
|
</el-form-item> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
@ -601,6 +601,13 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
copyLink(){ |
|
|
|
var curlDomain=window.location.protocol+"//"+window.location.host; // 返回https://mp.csdn.net |
|
|
|
var link=curlDomain+"/"+process.env.CONTEXT+"/"+process.env.VERSION+"/#/xm/core/xmQuestion/XmQuestionDetailRoute?id="+this.editForm.id |
|
|
|
this.$copyText(link).then(e => { |
|
|
|
this.$notify({position:'bottom-left',showClose:true,message:"拷贝成果",type:'success'}) |
|
|
|
}); |
|
|
|
} |
|
|
|
},//end method |
|
|
|
components: { |
|
|
|
//在下面添加其它组件 'xm-question-edit':XmQuestionEdit |
|
|
|
|