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