|
@@ -13,6 +13,7 @@
|
|
|
<script>
|
|
|
import startWorkflow from './startWorkflow/startWorkflow'
|
|
|
import approveCenter from './approveCenter/index'
|
|
|
+ import constant from '@/utils/constant.js'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -38,9 +39,12 @@
|
|
|
methods: {
|
|
|
handleBackHome() {
|
|
|
console.log('000000')
|
|
|
- uni.switchTab({
|
|
|
- url: '/pages/home/home'
|
|
|
- })
|
|
|
+ let url=constant.host()
|
|
|
+ window.parent.postMessage('/pages/index/index',url+'/mobile/pages/flow/flow')
|
|
|
+
|
|
|
+ // uni.switchTab({
|
|
|
+ // url: '/pages/home/home'
|
|
|
+ // })
|
|
|
}
|
|
|
}
|
|
|
}
|