|
@@ -48,7 +48,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom" v-if="toastType==='comfirm'">
|
|
|
- <span @click="visible=false" class="btn primary">{{language==='zh'?'取消':'Cancel'}}</span>
|
|
|
+ <span @click="visible=false" class="btn primary">{{lang==='zh'?'取消':'Cancel'}}</span>
|
|
|
<span class="b-line"></span>
|
|
|
<span class="btn primary" @click="emitCallback">{{diycomfirm||comfirmtxt}}</span>
|
|
|
</div>
|
|
@@ -65,7 +65,6 @@ import binding from './binding'
|
|
|
import addcart from './addcart'
|
|
|
import cooperation from './cooperation'
|
|
|
import loading from './loadingicon'
|
|
|
-import { mapState } from 'vuex'
|
|
|
let types = {
|
|
|
warn: '提示',
|
|
|
error: '错误',
|
|
@@ -109,9 +108,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapState({
|
|
|
- language: state => state.language.current
|
|
|
- }),
|
|
|
typeTxt () {
|
|
|
return this.lang === 'en' ? typesEn[this.type] : types[this.type]
|
|
|
},
|