feat:修改学习路径操作

This commit is contained in:
李晓鸽
2022-11-03 15:48:47 +08:00
parent e4e6af2bfb
commit ef49b4a70b
47 changed files with 3445 additions and 2902 deletions

View File

@@ -57,7 +57,7 @@
<span style="margin-right: 3px">讨论设置</span>
</div>
<div class="btnbox">
<a-checkbox v-model:checked="checkedC1">允许</a-checkbox>
<a-checkbox v-model:checked="checkedC1">允许</a-checkbox>
</div>
</div>
</div>
@@ -69,7 +69,7 @@
</div>
</a-drawer>
</template>
<script>
<script>
import { reactive, toRefs, ref } from "vue";
import * as api from "../../api/indexDiscuss";
import { message } from "ant-design-vue";
@@ -114,10 +114,10 @@ export default {
const afterVisibleChange = (bool) => {
console.log("state", bool);
};
//创建讨论
const createDiscuss = () => {
if(!state.inputV1) return message.warning("请输入讨论名称");
if (!state.inputV1) return message.warning("请输入讨论名称");
let obj = {
discussName: state.inputV1, //讨论名称
discussExplain: state.textV1, //讨论说明
@@ -141,7 +141,6 @@ export default {
message.success("创建成功");
ctx.emit("update:adddiscussVisible", false);
}, 1000);
})
.catch((err) => {
console.log("创建失败", err);
@@ -157,7 +156,7 @@ export default {
},
};
</script>
<style lang="scss">
<style lang="scss">
.ant-table-striped :deep(.table-striped) td {
background-color: #fafafa !important;
}
@@ -237,15 +236,15 @@ export default {
}
.ant-input-textarea-show-count {
position: relative;
}
.ant-input-textarea-show-count::after {
}
.ant-input-textarea-show-count::after {
position: absolute;
right: 10px;
bottom: 0px;
}
.ant-input {
border-radius: 8px;
}
}
.ant-input {
border-radius: 8px;
}
}
}
}
@@ -282,4 +281,3 @@ export default {
}
}
</style>