Skip to content

Commit c422a46

Browse files
author
ShannChiang
committed
fix bugs
1 parent 80fa284 commit c422a46

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ node_modules
33
deploy/
44
npm-debug.log
55
.DS_Store
6-
6+
mup.json

maodou/singlePages/client/actions/singlePages.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
if (err) {
2828
toastr.error('失败', 'Error!');
2929
} else {
30-
toastr.success('成功', 'Success!');
30+
// toastr.success('成功', 'Success!');
3131
}
3232
});
3333
};
@@ -74,9 +74,9 @@ export default {
7474
return () => {
7575
Meteor.call('singlePages.changeLogoName', logoName, (err) => {
7676
if (err) {
77-
toastr.error('更换模板失败');
77+
toastr.error('更新网站名称失败');
7878
} else {
79-
toastr.success('更换模板成功');
79+
// toastr.success('更新网站名称成功');
8080
}
8181
});
8282
};
@@ -85,9 +85,9 @@ export default {
8585
return () => {
8686
Meteor.call('singlePages.changeHeadTitle', headTitle, (err) => {
8787
if (err) {
88-
toastr.error('更换模板失败');
88+
toastr.error('更新网站title失败');
8989
} else {
90-
toastr.success('更换模板成功');
90+
// toastr.success('更新网站title成功');
9191
}
9292
});
9393
};

maodou/singlePages/client/containers/admin/singlePagesConf/config/content.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const lifeCycle = {
2929
},
3030
componentDidUpdate() {
3131
$('.editor').summernote('reset');
32-
$('.editor').summernote('focus');
32+
// $('.edsitor').summernote('focus');
3333
},
3434
componentWillUnmount() {
3535
const { dispatch, selectSection } = this.props;

0 commit comments

Comments
 (0)