mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 13:19:31 +08:00
新增:联系博主页面顶部返回按钮;
修复:修复 默认封面图、默认图片、默认头像在使用随机api时候无法显示的BUG; 修复:后台管理新增文章发布失败BUG; 删除:去除联系博主页面中的 联系博主 按钮; 优化:对友链页面进行重写; 优化:对部分页面和功能进行优化。
This commit is contained in:
@@ -151,7 +151,8 @@ export default {
|
||||
form: {
|
||||
content: '',
|
||||
keepRaw: true,
|
||||
sourceContent: '',
|
||||
originalContent: '',
|
||||
formatContent: '',
|
||||
type: 'PUBLIC'
|
||||
},
|
||||
modal: null,
|
||||
@@ -532,9 +533,10 @@ export default {
|
||||
return uni.$tm.toast('请输入内容!');
|
||||
}
|
||||
this.form.content = _content;
|
||||
this.form.sourceContent = this.$refs.markdown.getText();
|
||||
this.form.formatContent = _content;
|
||||
this.form.originalContent = this.$refs.markdown.getText();
|
||||
uni.setStorageSync('posts-content', _content);
|
||||
uni.setStorageSync('posts-content-source', this.form.sourceContent);
|
||||
uni.setStorageSync('posts-content-source', this.form.originalContent);
|
||||
if (this.form.id) {
|
||||
this.$Router.push({
|
||||
path: '/pagesB/articles/article-setting',
|
||||
|
||||
Reference in New Issue
Block a user