|
|
|
@ -400,7 +400,6 @@ export default {
|
|
|
|
|
cover: [
|
|
|
|
|
{ required: true, message: "请选择要发布的图片", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
sort: [{ required: true, message: "请输入轮播顺序", trigger: "blur" }],
|
|
|
|
|
title: [{ required: true, message: "请输入标题", trigger: "blur" }],
|
|
|
|
|
type: [{ required: true, message: "请选择类型", trigger: "blur" }],
|
|
|
|
@ -411,11 +410,7 @@ export default {
|
|
|
|
|
mounted() {
|
|
|
|
|
//给表格一个固定值
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.tableHeigth =
|
|
|
|
|
this.$refs.main.offsetHeight -
|
|
|
|
|
(this.$refs.topSearch.offsetHeight +
|
|
|
|
|
this.$refs.tableTool.offsetHeight) -
|
|
|
|
|
46;
|
|
|
|
|
this.tableHeigth = this.$refs.main.offsetHeight - (this.$refs.topSearch.offsetHeight + this.$refs.tableTool.offsetHeight) - 46;
|
|
|
|
|
});
|
|
|
|
|
// this.getList();
|
|
|
|
|
},
|
|
|
|
@ -476,11 +471,12 @@ export default {
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
})
|
|
|
|
|
.then(function () {})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.then(function () {}).catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
/*搜索 */
|
|
|
|
|
handleQuery() {},
|
|
|
|
|
handleQuery() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
/**重置 */
|
|
|
|
|
resetQuery() {
|
|
|
|
|
this.form = {
|
|
|
|
|