fix: 个人主页修改
This commit is contained in:
parent
be96abbeda
commit
921da3ec31
@ -72,7 +72,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"handle-callback-err": [2, "^(err|error)$"],
|
"handle-callback-err": [2, "^(err|error)$"],
|
||||||
indent: off,
|
indent: "off",
|
||||||
"jsx-quotes": [2, "prefer-single"],
|
"jsx-quotes": [2, "prefer-single"],
|
||||||
"key-spacing": [
|
"key-spacing": [
|
||||||
2,
|
2,
|
||||||
|
|||||||
@ -170,3 +170,12 @@ export function getListCustomer(data) {
|
|||||||
data
|
data
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 设置首页参数
|
||||||
|
export function setMainPageParam(data) {
|
||||||
|
return request({
|
||||||
|
url: "/admin/group/info/setMainPageParam",
|
||||||
|
method: "post",
|
||||||
|
data
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
@ -65,7 +65,7 @@
|
|||||||
width="300"
|
width="300"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <el-button
|
<el-button
|
||||||
v-if="!scope.row.isRecommend"
|
v-if="!scope.row.isRecommend"
|
||||||
type="text"
|
type="text"
|
||||||
@click="recommend(scope.row)"
|
@click="recommend(scope.row)"
|
||||||
@ -76,7 +76,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
@click="editWeight(scope.row)"
|
@click="editWeight(scope.row)"
|
||||||
>取消权重</el-button
|
>取消权重</el-button
|
||||||
> -->
|
>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.isDisplay === 1"
|
v-if="scope.row.isDisplay === 1"
|
||||||
type="text"
|
type="text"
|
||||||
@ -126,8 +126,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { setMainPageParam } from "@/api/course.js";
|
import { getCircleList, setMainPageParam } from "@/api/circle.js";
|
||||||
import { getCircleList } from "@/api/circle.js";
|
|
||||||
export default {
|
export default {
|
||||||
name: "CourseTab",
|
name: "CourseTab",
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user