diff --git a/src/views/config/index.vue b/src/views/config/index.vue
index 17667d4..8450321 100644
--- a/src/views/config/index.vue
+++ b/src/views/config/index.vue
@@ -345,8 +345,10 @@ onUnmounted(() => {
diff --git a/src/views/proxy/commonIp.json b/src/views/proxy/commonIp.json
new file mode 100644
index 0000000..71c9c5d
--- /dev/null
+++ b/src/views/proxy/commonIp.json
@@ -0,0 +1,5 @@
+[
+ {
+ "value": "127.0.0.11"
+ }
+]
\ No newline at end of file
diff --git a/src/views/proxy/index.vue b/src/views/proxy/index.vue
index b8c8ce2..ab4c6fb 100644
--- a/src/views/proxy/index.vue
+++ b/src/views/proxy/index.vue
@@ -254,6 +254,23 @@ const handleOpenLocalPortDialog = () => {
handleLoadLocalPorts();
};
+
+interface RestaurantItem {
+ value: string
+}
+
+const commonIp = ref>([])
+
+const handleIpFetchSuggestions = (queryString: string, cb: any) => {
+ const results = queryString
+ ? commonIp.value.filter(f => {
+ return f.value.toLowerCase().indexOf(queryString.toLowerCase()) !== -1
+ })
+ : commonIp.value
+ console.log(results, 'results')
+ cb(commonIp.value)
+}
+
onMounted(() => {
handleInitHook();
handleLoadProxys();
@@ -369,7 +386,7 @@ onUnmounted(() => {
{
>
-
+
@@ -391,17 +408,23 @@ onUnmounted(() => {
-
-
-
+
+
+
-
+
-
+
+
+
+
+
+
+
-
+