|
|
@@ -91,6 +91,16 @@
|
|
|
getBanbenInfo() {
|
|
|
banbenImpinfo({}).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
+ console.log('res',res)
|
|
|
+ if (res.data.chanpinId == 0) {
|
|
|
+ toast('请先进行选课!')
|
|
|
+ uni.switchTab({
|
|
|
+ url: '/pages/chanpinXuanze/index'
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
this.chanpinId = res.data.chanpinId
|
|
|
this.switchGetNeiRongInfo(res.data)
|
|
|
} else {
|