| | |
| | | } |
| | | } |
| | | }, |
| | | "nativePlugins" : { |
| | | } |
| | | "nativePlugins" : {} |
| | | }, |
| | | /* 快应用特有相关 */ |
| | | "quickapp" : {}, |
| | |
| | | import {getEnvObj, getWebViewUrl} from "@/utils/index.js"; |
| | | import {useUserStore} from "@/store/index.js"; |
| | | |
| | | const queryParams = ref({}) |
| | | |
| | | const viewUrl = computed(() => { |
| | | return getWebViewUrl('/DroneConsole', queryParams.value) |
| | | }) |
| | | |
| | | function onPostMessage(data) { |
| | | if (data.type === 'back'){ |
| | | // #ifdef H5 |
| | |
| | | }) |
| | | } |
| | | |
| | | const viewUrl = ref(""); |
| | | onLoad((options) => { |
| | | queryParams.value = options |
| | | viewUrl.value = getWebViewUrl("/DroneConsole", { |
| | | wayLineJobInfoId: options.wayLineJobInfoId, |
| | | dockSn: options.dockSn, |
| | | }); |
| | | }) |
| | | |
| | | |