lifanagju_citu 10 месяцев назад
Родитель
Сommit
d62166f0a9
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/components/CtDialog/index.vue

+ 5 - 1
src/components/CtDialog/index.vue

@@ -45,7 +45,7 @@
             text
             text
             @click="handleSave"
             @click="handleSave"
           >
           >
-            提交
+            {{ props.submitText }}
           </v-btn>
           </v-btn>
         </v-card-actions>
         </v-card-actions>
       </template>
       </template>
@@ -78,6 +78,10 @@ const props = defineProps({
     type: String,
     type: String,
     default: '提示'
     default: '提示'
   },
   },
+  submitText: {
+    type: String,
+    default: '提交'
+  },
   visible: {
   visible: {
     type: Boolean,
     type: Boolean,
     default: false
     default: false