1
This commit is contained in:
@@ -25,7 +25,7 @@ export default {
|
|||||||
// 只使用本地缓寸的数据
|
// 只使用本地缓寸的数据
|
||||||
OnlyUseCachedDB: true,
|
OnlyUseCachedDB: true,
|
||||||
// 使用模拟定位
|
// 使用模拟定位
|
||||||
UsingSimulatedPositioning: true,
|
UsingSimulatedPositioning: false,
|
||||||
// 应用信息
|
// 应用信息
|
||||||
appInfo: {
|
appInfo: {
|
||||||
// 应用名称
|
// 应用名称
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ const useLocationStore = defineStore("location", () => {
|
|||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
const resd = {
|
const resd = {
|
||||||
longitude: 120.382665,
|
longitude: 75.993802,
|
||||||
latitude: 36.066938
|
latitude: 39.468225
|
||||||
}
|
}
|
||||||
if (config.UsingSimulatedPositioning) { // 使用模拟定位
|
if (config.UsingSimulatedPositioning) { // 使用模拟定位
|
||||||
longitudeVal.value = resd.longitude
|
longitudeVal.value = resd.longitude
|
||||||
@@ -44,8 +44,8 @@ const useLocationStore = defineStore("location", () => {
|
|||||||
// latitudeVal.value = ''
|
// latitudeVal.value = ''
|
||||||
// reject(err)
|
// reject(err)
|
||||||
const resd = {
|
const resd = {
|
||||||
longitude: 120.382665,
|
longitude: 75.993802,
|
||||||
latitude: 36.066938
|
latitude: 39.468225
|
||||||
}
|
}
|
||||||
longitudeVal.value = resd.longitude
|
longitudeVal.value = resd.longitude
|
||||||
latitudeVal.value = resd.latitude
|
latitudeVal.value = resd.latitude
|
||||||
|
|||||||
69
unpackage/dist/dev/mp-weixin/project.config.json
vendored
69
unpackage/dist/dev/mp-weixin/project.config.json
vendored
@@ -1,40 +1,35 @@
|
|||||||
{
|
{
|
||||||
"setting": {
|
"setting": {
|
||||||
"es6": true,
|
"es6": true,
|
||||||
"postcss": true,
|
"postcss": true,
|
||||||
"minified": true,
|
"minified": true,
|
||||||
"uglifyFileName": false,
|
"uglifyFileName": false,
|
||||||
"enhance": true,
|
"enhance": true,
|
||||||
"packNpmRelationList": [],
|
"packNpmRelationList": [],
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
|
||||||
"useCompilerPlugins": false,
|
|
||||||
"minifyWXML": true,
|
|
||||||
"compileWorklet": false,
|
|
||||||
"uploadWithSourceMap": true,
|
|
||||||
"packNpmManually": false,
|
|
||||||
"minifyWXSS": true,
|
|
||||||
"localPlugins": false,
|
|
||||||
"disableUseStrict": false,
|
|
||||||
"condition": false,
|
|
||||||
"swc": false,
|
|
||||||
"disableSWC": true,
|
|
||||||
"ignoreUploadUnusedFiles": false
|
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"useCompilerPlugins": false,
|
||||||
"simulatorPluginLibVersion": {},
|
"minifyWXML": true,
|
||||||
"packOptions": {
|
"compileWorklet": false,
|
||||||
"ignore": [],
|
"uploadWithSourceMap": true,
|
||||||
"include": []
|
"packNpmManually": false,
|
||||||
},
|
"minifyWXSS": true,
|
||||||
"appid": "wx4aa34488b965a331",
|
"localPlugins": false,
|
||||||
"editorSetting": {
|
"disableUseStrict": false,
|
||||||
"tabIndent": "insertSpaces",
|
"condition": false,
|
||||||
"tabSize": 4
|
"swc": false,
|
||||||
},
|
"disableSWC": true
|
||||||
"libVersion": "3.11.1",
|
},
|
||||||
"condition": {}
|
"compileType": "miniprogram",
|
||||||
|
"simulatorPluginLibVersion": {},
|
||||||
|
"packOptions": {
|
||||||
|
"ignore": [],
|
||||||
|
"include": []
|
||||||
|
},
|
||||||
|
"appid": "wx4aa34488b965a331",
|
||||||
|
"editorSetting": {},
|
||||||
|
"libVersion": "3.11.1"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user