修改编辑数据简介完后左边默认选中效果消失bug

dev_2022-03-03
e 3 years ago
parent 880d7e1795
commit 246f03b458
  1. 2
      src/setting.js
  2. 5
      src/views/data/Introduce.vue

@ -9,7 +9,7 @@ const isPro = url.includes('huorantech'); //正式服
let jumpPath = ""; let jumpPath = "";
let host = ""; let host = "";
if (isDev) { if (isDev) {
// jumpPath = "http://124.71.12.62/judgmentPoint/"; // jumpPath = "http://www.huorantech.cn/judgmentPoint/";
jumpPath = "http://39.108.250.202/judgmentPoint/"; jumpPath = "http://39.108.250.202/judgmentPoint/";
// jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统 // jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统
// host = "http://www.huorantech.cn:9000/";//线上 // host = "http://www.huorantech.cn:9000/";//线上

@ -47,7 +47,7 @@
</div> </div>
<div class="btns" v-if="editing"> <div class="btns" v-if="editing">
<el-button @click="editing = false"> </el-button> <el-button @click="editing = false"> </el-button>
<el-button type="primary" @click="addKeyword"> </el-button> <el-button type="primary" @click="confirmData"> </el-button>
</div> </div>
</el-card> </el-card>
</el-col> </el-col>
@ -148,6 +148,7 @@ export default {
}, },
// //
saveType(){ saveType(){
const id = this.categoryId // id const id = this.categoryId // id
this.$post(this.api.updateCategory,{ this.$post(this.api.updateCategory,{
id, id,
@ -158,7 +159,7 @@ export default {
this.introduceText = this.introduce this.introduceText = this.introduce
this.editing = false this.editing = false
this.edited = true this.edited = true
this.getData() // this.getData()
}).catch(res => {}) }).catch(res => {})
}, },
// //

Loading…
Cancel
Save