fix
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<el-card shadow="always" style="width: 55%; margin: 0 auto">
|
||||
<agent-form ref="agentFormRef" v-model="form" is-add />
|
||||
<div :style="{ marginLeft: labelWidth + 'px' }">
|
||||
<el-button @click="$router.go(-1)">{{
|
||||
t("admin.common.cancel")
|
||||
}}</el-button>
|
||||
<el-button type="primary" @click="submitForm">{{
|
||||
t("admin.common.submit")
|
||||
}}</el-button>
|
||||
<el-button @click="$router.go(-1)"
|
||||
>{{ t("admin.common.cancel") }}
|
||||
</el-button>
|
||||
<el-button type="primary" @click="submitForm"
|
||||
>{{ t("admin.common.submit") }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
@ -18,7 +18,10 @@ import AgentForm from "@/views/components/AgentForm";
|
||||
import { reactive, ref, toRefs } from "vue";
|
||||
import { ElMessage } from "element-plus";
|
||||
import { insertCasBroker } from "@/api/admin/agent/account";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
const { t } = useI18n();
|
||||
const router = useRouter();
|
||||
const props = defineProps({
|
||||
labelWidth: {
|
||||
|
Reference in New Issue
Block a user