文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit ef550cbd by 郭婉茹

find text

parent 2b747371
......@@ -147,9 +147,9 @@ export default {
},
//获取内容
getContent() {
console.log("getContent");
console.log(" this.file: " + JSON.stringify(this.file));
console.log(" this.documentId: " + this.documentId);
console.log("getContent this.file: " + JSON.stringify(this.file));
console.log("getContent this.documentId: " + this.documentId);
console.log("getContent this.content: " + this.content);
this.axios({
method: "post",
url: "/files/getFileContent",
......@@ -160,8 +160,11 @@ export default {
if (res.return_code == 200) {
// console.log(" getContent: " + res.result);
this.content = res.result;
this.$nextTick(function () {
this.getTokenList();
});
this.contentWithoutColor = this.content;
this.getTokenList();
// console.log(
// " this.contentWithoutColor: " + this.contentWithoutColor
// );
......
......@@ -154,7 +154,9 @@ export default {
// console.log(" getContent: " + res.result);
this.content = res.result;
console.log("getContent this.content: " + this.content);
this.getTokenList();
this.$nextTick(function () {
this.getTokenList();
});
// console.log(
// " this.contentWithoutColor: " + this.contentWithoutColor
// );
......
......@@ -139,7 +139,9 @@ export default {
if (res.return_code == 200) {
// console.log(" getContent: " + res.result);
this.content = res.result;
this.getTokenList();
this.$nextTick(function () {
this.getTokenList();
});
// console.log(
// " this.contentWithoutColor: " + this.contentWithoutColor
// );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment