PUGE 4 yıl önce
ebeveyn
işleme
0d4c51c02e
4 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 2 2
      back/popup.js
  2. 1 0
      js/options.js
  3. 0 0
      js/popup.js
  4. 1 1
      manifest.json

+ 2 - 2
back/popup.js

@@ -6,8 +6,8 @@ const serverUrl = 'https://going.run/assist'
 
 const getSchemeData = new Promise((resolve, reject) => {
   getCurrentTabId((tabInfo) => {
-    console.log(tabInfo)
-    fetch(`${serverUrl}?route=search`, {
+    alert(userInfo.username)
+    fetch(`${serverUrl}?route=search&username=${userInfo.username || 'nologin'}`, {
       method: 'POST',
       body: JSON.stringify({
         "edition": 2,

+ 1 - 0
js/options.js

@@ -63,3 +63,4 @@ document.getElementsByClassName('login-button')[0].onclick = function () {
   }
 	login(username, password)
 }
+

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
js/popup.js


+ 1 - 1
manifest.json

@@ -1,7 +1,7 @@
 {
 	"manifest_version": 2,
 	"name": "脚本助手",
-	"version": "1.1.8",
+	"version": "1.1.9",
 	"description": "脚本助手",
 	"icons": {
 		"16": "./img/16.png",

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor