|
|
@@ -297,9 +297,6 @@ export default {
|
|
|
computed: {
|
|
|
// 动态计算并按顺序值由小到大列出所有配送方式别名
|
|
|
sortedMethodsText() {
|
|
|
- if (!this.sortsList || this.sortsList.length === 0) {
|
|
|
- return "加载中...";
|
|
|
- }
|
|
|
// 过滤掉已禁用的配送方式(status === 0)
|
|
|
const enabledList = this.sortsList.filter(item => item.status !== 0);
|
|
|
if (enabledList.length === 0) {
|
|
|
@@ -353,7 +350,6 @@ export default {
|
|
|
* @param {number} style - 配送类型 (0-4)
|
|
|
*/
|
|
|
loadConfig(style) {
|
|
|
- uni.showLoading({ title: "加载中" });
|
|
|
getShMethodConfig({ style })
|
|
|
.then(res => {
|
|
|
uni.hideLoading();
|