This commit is contained in:
zmj 2024-06-05 00:37:28 +08:00
parent 1361b6e11e
commit 5763c34260
4 changed files with 6 additions and 22 deletions

6
package-lock.json generated
View File

@ -17,7 +17,6 @@
"css-color-function": "^1.3.3",
"echarts": "^5.3.3",
"element-plus": "2.2.27",
"fetch-jsonp": "^1.3.0",
"highlight.js": "^11.6.0",
"nprogress": "^0.2.0",
"pinia": "^2.0.14",
@ -4072,11 +4071,6 @@
"reusify": "^1.0.4"
}
},
"node_modules/fetch-jsonp": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/fetch-jsonp/-/fetch-jsonp-1.3.0.tgz",
"integrity": "sha512-hxCYGvmANEmpkHpeWY8Kawfa5Z1t2csTpIClIDG/0S92eALWHRU1RnGaj86Tf5Cc0QF+afSa4SQ4pFB2rFM5QA=="
},
"node_modules/file-entry-cache": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",

View File

@ -28,6 +28,7 @@
"vue": "^3.2.37",
"vue-clipboard3": "^2.0.0",
"vue-echarts": "^6.2.3",
"vue-jsonp": "^2.0.0",
"vue-router": "^4.0.16",
"vue3-video-play": "1.3.1-beta.6",
"vuedraggable": "^4.1.0"

View File

@ -93,18 +93,12 @@ import { timeFormat } from '@/utils/util'
import { apicityLists, apiAreaLists, apiStreetLists, apigetProvinceLists } from "@/api/address"
import myMap from "./myMap/index.vue"
import axios from 'axios';
import { jsonp } from "vue-jsonp"
axios.get(`https://apis.map.qq.com/ws/place/v1/search?boundary=nearby(40.040589,116.273543,1000)&keyword=公园&page_size=10&page_index=1&key=SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7`)
.then(function (response) {
console.log(54545)
})
.catch(function (error) {
//
})
.finally(function () {
//
});
jsonp('https://apis.map.qq.com/ws/location/v1/ip?ip=111.206.145.41&key=V4LBZ-UKCHA-EUNK7-CUH4F-HOXVO-YTF56&output=jsonp').then(res => {
console.log(res)
})
//
const formRef = shallowRef<FormInstance>()
const activeName = ref('first')
//

View File

@ -17,11 +17,6 @@ export default defineConfig({
host: '0.0.0.0',
open: true,
port: 8787,
proxy: {
'/ws': {
target: 'https://apis.map.qq.com/',
}
}
},
plugins: [
vue(),