提交一波
This commit is contained in:
@@ -18,14 +18,6 @@ export default {
|
||||
return app.esm ?? ""
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$vm.$on("mock", v => {
|
||||
if (!!this.$refs.currentPage.$children?.[0]?.form) {
|
||||
this.$refs.currentPage.$children[0].form = v
|
||||
this.$refs.currentPage.$children[0].$forceUpdate()
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -30,11 +30,10 @@ import MainContent from "../components/mainContent";
|
||||
import HeaderNav from "../components/headerNav";
|
||||
import {mapActions, mapMutations, mapState} from "vuex";
|
||||
import Mock from "../components/mock";
|
||||
import AiDvWrapper from "../../ui/dv/layout/AiDvWrapper/AiDvWrapper.vue";
|
||||
|
||||
export default {
|
||||
name: 'app',
|
||||
components: {AiDvWrapper, Mock, HeaderNav, MainContent, SliderNav},
|
||||
components: {Mock, HeaderNav, MainContent, SliderNav},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
login() {
|
||||
@@ -75,8 +74,9 @@ export default {
|
||||
handleMock() {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
wx = jWeixin
|
||||
mounted() {
|
||||
const {jWeixin} = window
|
||||
window.wx = jWeixin
|
||||
if (this.user.token) this.getUserInfo().finally(() => {
|
||||
if (/^\/project\/xiushan/.test(location.pathname)) {
|
||||
this.getFinanceUser()
|
||||
|
||||
Reference in New Issue
Block a user