excelDetail.vue 358 B

12345678910111213141516171819
  1. <template>
  2. <web-view :src="url"></web-view>
  3. </template>
  4. <script>
  5. const token = uni.getStorageSync("token");
  6. export default {
  7. data() {
  8. return {
  9. url: "",
  10. };
  11. },
  12. onLoad(options) {
  13. this.url = `http://120.55.44.4:8896/#/mobile/detail/${options.templateNodeId}/${options.versionId}?JWT-TOKEN=${token}`;
  14. },
  15. };
  16. </script>
  17. <style></style>