封面栏目文章问题
This commit is contained in:
parent
1d21a818ca
commit
c36c1e67ef
|
@ -364,17 +364,17 @@
|
||||||
if (valid) {
|
if (valid) {
|
||||||
that.saveDisabled = true; //判断
|
that.saveDisabled = true; //判断
|
||||||
|
|
||||||
if (that.categoryIdOptions.filter(function (f) {
|
// if (that.categoryIdOptions.filter(function (f) {
|
||||||
return f['id'] == that.form.categoryId;
|
// return f['id'] == that.form.categoryId;
|
||||||
})[0].categoryType == '2' && that.returnIsShow) {
|
// })[0].categoryType == '2' && that.returnIsShow) {
|
||||||
that.$notify({
|
// that.$notify({
|
||||||
title: '提示',
|
// title: '提示',
|
||||||
message: '所属栏目不能为封面',
|
// message: '所属栏目不能为封面',
|
||||||
type: 'error'
|
// type: 'error'
|
||||||
});
|
// });
|
||||||
that.saveDisabled = false;
|
// that.saveDisabled = false;
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
var data = JSON.parse(JSON.stringify(that.form));
|
var data = JSON.parse(JSON.stringify(that.form));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue