This commit is contained in:
jiangyinzhi
2025-01-16 16:21:23 +08:00
parent 7f7ff91a5e
commit 561624a90c
17 changed files with 54 additions and 368 deletions
+25 -25
View File
@@ -275,7 +275,7 @@ export default {
// this.init()
},
mounted() {
this.getAi()
// this.getAi()
if(this.$route.query.type == 2) {
this.handleSelect('2')
} else {
@@ -283,30 +283,30 @@ export default {
}
},
methods: {
//获取到ai
async getAi() {
const params = sessionStorage.getItem('saikey')
const res = await getAi({ai: params})
if(res.code == 0 && !res.data) {
return
}
this.ai = res.data
// Dialog.confirm({
// title: '标题',
// message: `${res.data}`,
//}).then(() => {
// var cInput = document.createElement("input");
// cInput.value = res.data;
// document.body.appendChild(cInput);
// cInput.select(); // 选取文本框内容
// // 执行浏览器复制命令
// // 复制命令会将当前选中的内容复制到剪切板中(这里就是创建的input标签)
// // Input要在正常的编辑状态下原生复制方法才会生效
// document.execCommand("copy");
// document.body.removeChild(cInput);
// // on confirm
//})
},
// //获取到ai
// async getAi() {
// const params = sessionStorage.getItem('saikey')
// const res = await getAi({ai: params})
// if(res.code == 0 && !res.data) {
// return
// }
// this.ai = res.data
// // Dialog.confirm({
// // title: '标题',
// // message: `${res.data}`,
// //}).then(() => {
// // var cInput = document.createElement("input");
// // cInput.value = res.data;
// // document.body.appendChild(cInput);
// // cInput.select(); // 选取文本框内容
// // // 执行浏览器复制命令
// // // 复制命令会将当前选中的内容复制到剪切板中(这里就是创建的input标签)
// // // Input要在正常的编辑状态下原生复制方法才会生效
// // document.execCommand("copy");
// // document.body.removeChild(cInput);
// // // on confirm
// //})
// },
// 搜索
async searchEveryItem() {
if (!this.searchValue) {