话术
This commit is contained in:
parent
83cb8ef2d8
commit
4026af0a5c
@ -480,11 +480,10 @@ export default {
|
|||||||
// 话术
|
// 话术
|
||||||
see(row) {
|
see(row) {
|
||||||
Cookies.set("id", row.id)
|
Cookies.set("id", row.id)
|
||||||
|
Cookies.set("scriptId", row.scriptId)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/knowledge/preview",
|
path: "/knowledge/preview",
|
||||||
query: {
|
|
||||||
id: row.id,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
seescript(row) {
|
seescript(row) {
|
||||||
|
|||||||
@ -534,6 +534,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
// console.log(this.$router.query,'query')
|
||||||
this.initG6Editor();
|
this.initG6Editor();
|
||||||
this.getlist()
|
this.getlist()
|
||||||
|
|
||||||
@ -813,7 +814,7 @@ export default {
|
|||||||
// 将二进制数据转换为Blob对象
|
// 将二进制数据转换为Blob对象
|
||||||
const blob = new Blob([bytes], { type: mimeType });
|
const blob = new Blob([bytes], { type: mimeType });
|
||||||
// 创建File对象
|
// 创建File对象
|
||||||
const file = new File([blob], nowdatanew+name + '.jpg', { type: mimeType });
|
const file = new File([blob], Cookies.get('scriptId') + '.jpg', { type: mimeType });
|
||||||
return file;
|
return file;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user