You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
472 B

9 months ago
  1. <template>
  2. <view>
  3. <!-- <web-view :webview-styles="webviewStyles" src="http://192.168.1.20/system/menu"></web-view> -->
  4. <web-view :webview-styles="webviewStyles" :src="$store.state.webViewUrl"></web-view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. webviewStyles: {
  12. progress: {
  13. color: '#FF3333'
  14. }
  15. }
  16. }
  17. },
  18. onLoad() {
  19. console.log('噜噜哇'+ this.$store.state.webViewUrl)
  20. }
  21. }
  22. </script>
  23. <style>
  24. </style>