Browse Source

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

dhb52 2 năm trước cách đây
mục cha
commit
0b055b5db4

+ 6 - 3
src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue

@@ -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

+ 2 - 1
src/views/Login/components/LoginForm.vue

@@ -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"

+ 2 - 1
src/views/Login/components/MobileForm.vue

@@ -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"

+ 2 - 1
src/views/bpm/definition/index.vue

@@ -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>

+ 4 - 2
src/views/bpm/model/index.vue

@@ -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>

+ 1 - 1
src/views/mp/components/wx-reply/main.vue

@@ -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"
                       >素材库选择