This commit is contained in:
shijing 2024-08-15 15:25:34 +08:00
parent 791edcbf4f
commit 06c3e107f0
1 changed files with 3 additions and 3 deletions

View File

@ -203,7 +203,6 @@ export default {
eqtype:{ eqtype:{
type:String, type:String,
default: '' default: ''
}
}, },
}, },
data() { data() {
@ -268,8 +267,9 @@ export default {
}, },
methods: { methods: {
getCateOptions() { getCateOptions() {
this.$API.em.ecate.list.req({page:0}).then(res => { let that = this;
this.cateOptions = res that.$API.em.ecate.list.req({page:0,type:that.eqtype}).then(res => {
that.cateOptions = res;
}) })
}, },
getBaseInfo() { getBaseInfo() {