张含笑
2025-11-13 b2af84cbd77c9e5b5cf26d74acc04179cedcea0f
src/subPackages/workDetail/addWork/index.vue
@@ -7,18 +7,26 @@
</template>
<script setup>
import {getWebViewUrl} from "@/utils/index.js";
   import {
      getWebViewUrl
   } from "@/utils/index.js";
import WebViewPlus from "@/components/WebViewPlus.vue";
const sWebViewRef = ref(null);
const viewUrl = getWebViewUrl('/addWork')
function onPostMessage(data) {
  if (data.type === 'submitSuccess'){
         uni.setStorageSync('joinParams', {
            type: 'add'
         });
         // uni.switchTab({
         //   url: '/pages/work/index'
         // });
    uni.switchTab({
      url: '/pages/work/index'
            url: `/pages/work/index?addLog=111`
    });
  }
}
</script>
<style scoped lang="scss">