diff --git a/.env.front b/.env.front
index a63b6379..1629ff9f 100644
--- a/.env.front
+++ b/.env.front
@@ -19,7 +19,7 @@ VITE_API_URL=/admin-api
VITE_BASE_PATH=/
# 项目本地运行端口号, 与.vscode/launch.json配合
-VITE_PORT=5173
+VITE_PORT=80
# 是否删除debugger
VITE_DROP_DEBUGGER=false
diff --git a/.vscode/launch.json b/.vscode/launch.json
index e4093b3a..f43edc03 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -8,7 +8,7 @@
"type": "msedge",
"request": "launch",
"name": "Launch Edge against localhost",
- "url": "http://localhost:5173",
+ "url": "http://localhost",
"webRoot": "${workspaceFolder}/src",
"sourceMaps": true
}
diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue
index 4877ec76..9208d1e7 100644
--- a/src/views/mp/autoReply/index.vue
+++ b/src/views/mp/autoReply/index.vue
@@ -3,7 +3,8 @@
- accountChanged(accountId)" />
+
+
diff --git a/src/views/mp/components/WxMpSelect.vue b/src/views/mp/components/WxMpSelect.vue
index 6dc6809b..e39bbf96 100644
--- a/src/views/mp/components/WxMpSelect.vue
+++ b/src/views/mp/components/WxMpSelect.vue
@@ -19,13 +19,12 @@ const emit = defineEmits<{
(e: 'change', id: number | undefined): void
}>()
-onMounted(async () => {
+onMounted(() => {
handleQuery()
})
const handleQuery = async () => {
- const data = await MpAccountApi.getSimpleAccountList()
- accountList.value = data
+ accountList.value = await MpAccountApi.getSimpleAccountList()
// 默认选中第一个
if (accountList.value.length > 0) {
accountId.value = accountList.value[0].id
diff --git a/src/views/mp/components/wx-account-select/main.vue b/src/views/mp/components/wx-account-select/main.vue
index f75bc7d6..4eb99615 100644
--- a/src/views/mp/components/wx-account-select/main.vue
+++ b/src/views/mp/components/wx-account-select/main.vue
@@ -1,6 +1,7 @@
+
{
+onMounted(() => {
handleQuery()
})
const handleQuery = async () => {
- const data = await MpAccountApi.getSimpleAccountList()
- accountList.value = data
+ accountList.value = await MpAccountApi.getSimpleAccountList()
// 默认选中第一个
if (accountList.value.length > 0) {
accountId.value = accountList.value[0].id
diff --git a/src/views/mp/draft/index.vue b/src/views/mp/draft/index.vue
index 0f2aa254..299ec68a 100644
--- a/src/views/mp/draft/index.vue
+++ b/src/views/mp/draft/index.vue
@@ -3,7 +3,8 @@
- accountChanged(accountId)">
+
+
新增
diff --git a/src/views/mp/freePublish/index.vue b/src/views/mp/freePublish/index.vue
index bb42b6a2..0d370f4a 100644
--- a/src/views/mp/freePublish/index.vue
+++ b/src/views/mp/freePublish/index.vue
@@ -3,6 +3,7 @@
+
accountChanged(accountId)" />
diff --git a/src/views/mp/material/index.vue b/src/views/mp/material/index.vue
index ec9077f1..e4382b69 100644
--- a/src/views/mp/material/index.vue
+++ b/src/views/mp/material/index.vue
@@ -4,10 +4,7 @@
- accountChange(accountId)" />
-
-
-
+
diff --git a/src/views/mp/menu/index.vue b/src/views/mp/menu/index.vue
index 249f3a7c..a6a08c97 100644
--- a/src/views/mp/menu/index.vue
+++ b/src/views/mp/menu/index.vue
@@ -2,7 +2,8 @@
- accountChanged(accountId)" />
+
+
diff --git a/src/views/mp/tag/index.vue b/src/views/mp/tag/index.vue
index 04366e88..44578519 100644
--- a/src/views/mp/tag/index.vue
+++ b/src/views/mp/tag/index.vue
@@ -3,7 +3,8 @@
- accountChanged(accountId)">
+
+
新增
diff --git a/src/views/mp/user/index.vue b/src/views/mp/user/index.vue
index d5d2e4dc..91fd7dff 100644
--- a/src/views/mp/user/index.vue
+++ b/src/views/mp/user/index.vue
@@ -3,6 +3,7 @@
+
accountChanged(accountId)">