|
|
@@ -31,7 +31,7 @@
|
|
|
<script setup>
|
|
|
import {reactive} from "vue";
|
|
|
import {onLoad} from "@dcloudio/uni-app"
|
|
|
-import * as shuxueHttp from "@/api/chanpinShuxue.js"
|
|
|
+import * as danciHttp from "@/api/chaojidanci.js"
|
|
|
import cacheManager from "@/utils/cacheManager.js";
|
|
|
import ezyActiveVue from "@/components/ezyActive/ezyActive.vue";
|
|
|
|
|
|
@@ -41,7 +41,7 @@ const data = reactive({
|
|
|
})
|
|
|
|
|
|
function getBanbenList() {
|
|
|
- shuxueHttp.getShuxueChanpinBanbenList({dengjiId: data.dengjiId}).then(res => {
|
|
|
+ danciHttp.getDanciChanpinBanbenList({dengjiId: data.dengjiId}).then(res => {
|
|
|
data.banbenList = res.data;
|
|
|
})
|
|
|
}
|
|
|
@@ -56,7 +56,7 @@ function handleSelect(item) {
|
|
|
const opt = {
|
|
|
banbenId: item.id,
|
|
|
}
|
|
|
- shuxueHttp.getShuxueChanpinBanbenSave(opt).then(res => {
|
|
|
+ danciHttp.getDanciChanpinBanbenSave(opt).then(res => {
|
|
|
if (!res.data) { return;}
|
|
|
cacheManager.get('contentInfo') && cacheManager.remove('contentInfo');
|
|
|
// 跳转
|