|
|
@@ -161,8 +161,16 @@ export default {
|
|
|
let params = [{
|
|
|
id: id
|
|
|
}]
|
|
|
+ let api = "deleteTipsTemplate"
|
|
|
+ if(this.lang.lang == 'com'){
|
|
|
+ api = "deleteTipsTemplateCom"
|
|
|
+ }else if (this.lang.lang == 'cn') {
|
|
|
+ api = "deleteTipsTemplate"
|
|
|
+ }else{
|
|
|
+ api = "deleteTipsTemplateHK"
|
|
|
+ }
|
|
|
_this.ajax
|
|
|
- .post(_this.$store.state.api + "deleteTipsTemplate", params)
|
|
|
+ .post(_this.$store.state.api + api, params)
|
|
|
.then((res) => {
|
|
|
_this.$message.success(_this.lang.DeleteSuccessful);
|
|
|
_this.getList()
|