修复bug

This commit is contained in:
pan.wl.2
2024-11-16 15:27:25 +08:00
parent ef8b00e6e0
commit 30c7742118
43 changed files with 53 additions and 46 deletions

View File

@@ -35,7 +35,7 @@ const axiosHooks: AxiosHooks = {
config.params = {}
}
config.headers = headers
config.url = config.url?.replace(".", "/")
// config.url = config.url?.replace(".", "/")
return config
},
requestInterceptorsCatchHook(err) {

View File

@@ -31,10 +31,10 @@ getOaMenuFunc()
</el-card>
<footer-btns>
<el-button type="primary" @click="handleSave" v-perms="['channel:oaMenu:save']">
<el-button type="primary" @click="handleSave" v-perms="['channel.official_account_menu/save']">
保存
</el-button>
<el-button type="primary" @click="handlePublish" v-perms="['channel:oaMenu:publish']">
<el-button type="primary" @click="handlePublish" v-perms="['channel.official_account_menu/saveAndPublish']">
发布
</el-button>
</footer-btns>

View File

@@ -23,7 +23,7 @@
@update:content="updateContent"
/>
</div>
<footer-btns class="mt-4" :fixed="false" v-perms="['decorate:pages:save']">
<footer-btns class="mt-4" :fixed="false" v-perms="['decorate.page/save']">
<el-button type="primary" @click="setData">保存</el-button>
</footer-btns>
</div>

View File

@@ -11,7 +11,7 @@
>
返回
</el-button>
<el-button v-perms="['decorate:pages:save']" @click="setData"> 保存 </el-button>
<el-button v-perms="['decorate.page/save']" @click="setData"> 保存 </el-button>
</div>
</el-card>
<div class="flex-1 h-full">

View File

@@ -34,7 +34,7 @@
</div>
</div>
<footer-btns :fixed="true" v-perms="['decorate:tabbar:save']">
<footer-btns :fixed="true" v-perms="['decorate.tabbar/save']">
<el-button type="primary" @click="setData">保存</el-button>
</footer-btns>
</div>