dev2 #1

Open
panjunjie wants to merge 174 commits from dev2 into main
Showing only changes of commit c0d02c2a9f - Show all commits

View File

@ -50,7 +50,7 @@
<div class="enableExit">
<el-button
type="primary"
@click="setThemes(page.tpl_id, page.tpl_label)"
@click="setThemes(page.tpl_id, page.tpl_label,page.app_id)"
>
{{ __('启用') }}
</el-button>
@ -115,11 +115,12 @@
}
}
},
async setThemes(tpl_id, tpl_label) {
async setThemes(tpl_id, tpl_label,app_id) {
this.$baseConfirm(this.__('确定启用此模板风格?'), null, async () => {
const { msg, status } = await setThemes({
tpl_id: tpl_id,
store_template: tpl_label,
app_id: app_id,
})
if (200 == status) {
this.$baseMessage(msg, 'success')