经穴检索

This commit is contained in:
@fawn-nine
2023-11-07 17:17:46 +08:00
parent dd66af1a20
commit 4c00a03fc9
9 changed files with 97 additions and 127 deletions

View File

@@ -146,7 +146,7 @@ export default {
},
methods: {
handleChange1(e){
console.log(e,'e')
// console.log(e,'e')
},
getCatTreeList() {
this.loading = true;
@@ -155,10 +155,10 @@ export default {
method: "post"
})
.then(({ data }) => {
console.log(data, "树形结构");
// console.log(data, "树形结构");
if (data.code == 0 && data.categorys.length > 0) {
this.treeList = data.categorys;
console.log("执行后的结果", this.cateList);
// console.log("执行后的结果", this.cateList);
//
} else {
this.treeList = [];
@@ -181,7 +181,7 @@ export default {
})
.then(({ data }) => {
if (data.code == 0) {
console.log("内容详情", data);
// console.log("内容详情", data);
this.form.alias = data.point.alias;
this.form.anatomy = data.point.anatomy;
this.form.compatibility = data.point.compatibility;
@@ -200,20 +200,20 @@ export default {
url: element
});
});
console.log("图片列表格式", this.fileList);
// console.log("图片列表格式", this.fileList);
}
} else {
}
})
.catch(({ e }) => {
console.log(e, "e");
// console.log(e, "e");
});
} else {
}
},
handleRemoveNovel(file) {
console.log(file, this.fileList);
// console.log(file, this.fileList);
if (this.form.imageList.length > 0) {
this.form.imageList.forEach((element, index) => {
{
@@ -222,12 +222,12 @@ export default {
}
}
});
console.log("删除后", this.form.imageList);
// console.log("删除后", this.form.imageList);
}
// this.dataForm.images = [];
},
handleSuccess(file, fileList) {
console.log(file, fileList);
// console.log(file, fileList);
// this.fileList.push();
this.form.imageList.push(file.url);
// console.log(this.fileList, 66);