更换正式环境,测试修改

This commit is contained in:
GaoHao
2025-03-25 21:49:33 +08:00
parent f01bc839f7
commit 7fe5d028e4
71 changed files with 930 additions and 2016 deletions

View File

@@ -105,9 +105,7 @@
popShow.value = newval
if (newval) {
data.value = props.item
console.log(props.item);
Object.assign(category,props.item)
console.log(props.item);
}
})
const isSku = computed(() => {

View File

@@ -35,7 +35,6 @@
import { reactive, ref } from 'vue';
import { onShow } from '@dcloudio/uni-app'
import go from '@/commons/utils/go.js';
import infoBox from "@/commons/utils/infoBox.js"
import myCategory from './components/category.vue'
import editSort from './components/edit-sort.vue';
import editName from './components/edit-name.vue';
@@ -118,7 +117,6 @@
* @param {Object} e
*/
function actionsShow(e) {
console.log(e)
popup.selData = pageData.list[e]
popup.selIndex = e
actions.show = true
@@ -172,7 +170,7 @@
popup.name.show = false;
popup.time.show = false;
pageData.list[popup.selIndex] = e
infoBox.showToast('更新成功')
uni.$utils.showToast('更新成功')
}
/**
@@ -183,7 +181,7 @@
const res = await updateProdGroup({
...data
})
infoBox.showToast('修改成功')
uni.$utils.showToast('修改成功')
// init()
}
@@ -234,7 +232,7 @@
success: res => {
if (res.confirm) {
delProdGroup(pageData.list[index].id).then(res => {
infoBox.showToast('删除成功')
uni.$utils.showToast('删除成功')
setTimeout(()=>{
getList()
},1500)