Merge branch 'develop' into sw-notification-action
This commit is contained in:
@@ -84,6 +84,7 @@ export function updateAccount(data) {
|
||||
for (const [key, value] of Object.entries(data)) {
|
||||
$i[key] = value;
|
||||
}
|
||||
localStorage.setItem('account', JSON.stringify($i));
|
||||
}
|
||||
|
||||
export function refreshAccount() {
|
||||
|
@@ -70,7 +70,8 @@ export default defineComponent({
|
||||
async run() {
|
||||
this.logs = [];
|
||||
const aiscript = new AiScript(createAiScriptEnv({
|
||||
storageKey: 'scratchpad'
|
||||
storageKey: 'scratchpad',
|
||||
token: this.$i?.token,
|
||||
}), {
|
||||
in: (q) => {
|
||||
return new Promise(ok => {
|
||||
|
@@ -54,7 +54,8 @@ export default defineComponent({
|
||||
async run() {
|
||||
this.logs = [];
|
||||
const aiscript = new AiScript(createAiScriptEnv({
|
||||
storageKey: 'widget'
|
||||
storageKey: 'widget',
|
||||
token: this.$i?.token,
|
||||
}), {
|
||||
in: (q) => {
|
||||
return new Promise(ok => {
|
||||
|
@@ -45,7 +45,8 @@ export default defineComponent({
|
||||
methods: {
|
||||
async run() {
|
||||
const aiscript = new AiScript(createAiScriptEnv({
|
||||
storageKey: 'scratchpad'
|
||||
storageKey: 'widget',
|
||||
token: this.$i?.token,
|
||||
}), {
|
||||
in: (q) => {
|
||||
return new Promise(ok => {
|
||||
|
Reference in New Issue
Block a user