fix: type='text' => type='primary' link

This commit is contained in:
dhb52 2023-04-14 15:26:06 +08:00
parent 4f3e7ecaac
commit 0b055b5db4
6 changed files with 17 additions and 9 deletions

View File

@ -111,7 +111,8 @@
>
<el-divider direction="vertical" />
<el-button
type="text"
type="primary"
link
style="color: #ff4d4f"
@click="removeFieldOptionItem(scope, scope.$index, 'enum')"
>移除</el-button
@ -143,7 +144,8 @@
>
<el-divider direction="vertical" />
<el-button
type="text"
type="primary"
link
style="color: #ff4d4f"
@click="removeFieldOptionItem(scope, scope.$index, 'constraint')"
>移除</el-button
@ -174,7 +176,8 @@
>
<el-divider direction="vertical" />
<el-button
type="text"
type="primary"
link
style="color: #ff4d4f"
@click="removeFieldOptionItem(scope, scope.$index, 'property')"
>移除</el-button

View File

@ -18,7 +18,8 @@
<el-col :span="24" style="padding-left: 10px; padding-right: 10px">
<el-form-item prop="tenantName" v-if="loginData.tenantEnable === 'true'">
<el-input
type="text"
type="primary"
link
v-model="loginData.loginForm.tenantName"
:placeholder="t('login.tenantNamePlaceholder')"
:prefix-icon="iconHouse"

View File

@ -19,7 +19,8 @@
<el-col :span="24" style="padding-left: 10px; padding-right: 10px">
<el-form-item prop="tenantName" v-if="loginData.tenantEnable === 'true'">
<el-input
type="text"
type="primary"
link
v-model="loginData.loginForm.tenantName"
:placeholder="t('login.tenantNamePlaceholder')"
:prefix-icon="iconHouse"

View File

@ -18,7 +18,8 @@
<template #default="scope">
<el-button
v-if="scope.row.formType === 10"
type="text"
type="primary"
link
@click="handleFormDetail(scope.row)"
>
<span>{{ scope.row.formName }}</span>

View File

@ -79,14 +79,16 @@
<template #default="scope">
<el-button
v-if="scope.row.formType === 10"
type="text"
type="primary"
link
@click="handleFormDetail(scope.row)"
>
<span>{{ scope.row.formName }}</span>
</el-button>
<el-button
v-else-if="scope.row.formType === 20"
type="text"
type="primary"
link
@click="handleFormDetail(scope.row)"
>
<span>{{ scope.row.formCustomCreatePath }}</span>

View File

@ -231,7 +231,7 @@
:on-success="handleUploadSuccess"
>
<template #trigger>
<el-button type="text">本地上传</el-button>
<el-button type="primary" link>本地上传</el-button>
</template>
<el-button type="primary" link @click="openMaterial" style="margin-left: 5px"
>素材库选择