💄 UI: [前台]:补提交
This commit is contained in:
parent
a05d57c95b
commit
f0dedfc828
@ -64,8 +64,15 @@ export function showAddModel() {
|
|||||||
this.setState({ isShowModal: true });
|
this.setState({ isShowModal: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增书签
|
||||||
|
*/
|
||||||
export function addOne() {
|
export function addOne() {
|
||||||
console.log(1);
|
console.log(1);
|
||||||
|
if (this.state.addType === 2) {
|
||||||
|
addHtmlFile();
|
||||||
|
return;
|
||||||
|
}
|
||||||
let body = {
|
let body = {
|
||||||
type: this.state.addType,
|
type: this.state.addType,
|
||||||
path: parentNode == null ? "" : parentNode.path + "." + parentNode.bookmarkId,
|
path: parentNode == null ? "" : parentNode.path + "." + parentNode.bookmarkId,
|
||||||
@ -88,6 +95,10 @@ export function addOne() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function addHtmlFile() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除
|
* 批量删除
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user