@@ -1,6 +1,6 @@
{
"name": "pc-component-v3",
- "version": "1.0.40",
+ "version": "1.0.43",
"description": "",
"main": "dist/pc-component-v3.js",
"scripts": {
@@ -40,7 +40,7 @@
class="btn btn-info"
@click="cancel"
>
- {{ cancelText }}
+ {{ $t('lang.modal.cancel') }}
</button>
<button
v-if="showOkButton"
@@ -48,7 +48,7 @@
class="btn btn-primary"
@click="ok"
- {{ okText }}
+ {{ $t('lang.modal.confirm') }}
<slot name="footer" />
</div>
@@ -122,9 +122,6 @@ export default {
data: function () {
return {
- okText: this.$t('lang.modal.confirm'),
- cancelText: this.$t('lang.modal.cancel'),
- closeText: this.$t('lang.modal.close'),
okClass: '',
cancelClass: '',
closeClass: '',