meixioacomponent 0.3.69 → 0.3.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -172,6 +172,8 @@ export default {
|
|
|
172
172
|
type: String,
|
|
173
173
|
default: 'small',
|
|
174
174
|
},
|
|
175
|
+
|
|
176
|
+
footButtonText: { type: Array, default: () => ['取消', '确定'] },
|
|
175
177
|
},
|
|
176
178
|
components: {
|
|
177
179
|
baseAreaVue,
|
|
@@ -220,9 +222,11 @@ export default {
|
|
|
220
222
|
methods: {
|
|
221
223
|
init() {
|
|
222
224
|
if (this.$props.form) {
|
|
225
|
+
const { footButtonText } = this.$props
|
|
226
|
+
|
|
223
227
|
this.handleConfig = [
|
|
224
228
|
{
|
|
225
|
-
text:
|
|
229
|
+
text: `${footButtonText[0]}`,
|
|
226
230
|
type: 'info',
|
|
227
231
|
plain: true,
|
|
228
232
|
click: () => {
|
|
@@ -230,7 +234,7 @@ export default {
|
|
|
230
234
|
},
|
|
231
235
|
},
|
|
232
236
|
{
|
|
233
|
-
text:
|
|
237
|
+
text: `${footButtonText[1]}`,
|
|
234
238
|
type: 'primary',
|
|
235
239
|
plain: false,
|
|
236
240
|
click: () => {
|