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