“dzb”
2022-09-22 65cf29e0e28e60e8264cd66826aa23d3ae986f37
src/views/operate/shop/components/createUser/index.vue
File was renamed from src/views/systemSetting/baseSetting/user/createUser/index.vue
@@ -280,7 +280,6 @@
    methods: {
        handleUser() {
            const { user } = this;
            console.log(user);
            this.$axios.post('sccg/admin/register', {
                departmentId: user.departmentId,
                email: user.email,
@@ -293,12 +292,13 @@
                username: user.username,
            }).then(res => {
                if (res.code === 200) {
                    this.refresh();
                    console.log(1);
                    this.$emit('sendDialog',{flag:false});
                }
            })
        }
        },
    },
    props: ['refresh']
    props: ['sendDialog']
}
</script>
<style lang="scss" scoped>