fix:save
This commit is contained in:
@@ -51,7 +51,7 @@ const searchList = computed<any[]>(() => {
|
||||
<BasePage>
|
||||
<div class="card">
|
||||
<div class="flex items-center relative gap-2">
|
||||
<BackIcon class="z-2" @Click='router.back()'/>
|
||||
<BackIcon class="z-2" @Click='router.back'/>
|
||||
<div class="flex flex-1 gap-4" v-if="showSearchInput">
|
||||
<Input prefix-icon placeholder="请输入书籍名称/缩写/类别" v-model="searchKey" class="flex-1" autofocus/>
|
||||
<BaseButton @click="showSearchInput = false, searchKey = ''">取消</BaseButton>
|
||||
|
||||
@@ -350,7 +350,7 @@ defineRender(() => {
|
||||
</div> :
|
||||
<div class="card mb-0 h-[95vh]">
|
||||
<div class="flex justify-between items-center relative">
|
||||
<BackIcon class="z-2" onClick={() => isAdd ? router.back() : (isEdit = false)}/>
|
||||
<BackIcon class="z-2" onClick={isAdd ? router.back : (isEdit = false)}/>
|
||||
<div class="absolute page-title text-align-center w-full">
|
||||
{runtimeStore.editDict.id ? '修改' : '创建'}词典
|
||||
</div>
|
||||
|
||||
@@ -77,7 +77,7 @@ const searchList = computed<any[]>(() => {
|
||||
<BasePage>
|
||||
<div class="card">
|
||||
<div class="flex items-center relative gap-2">
|
||||
<BackIcon class="z-2" @Click='router.back()'/>
|
||||
<BackIcon class="z-2" @click='router.back'/>
|
||||
<div class="flex flex-1 gap-4" v-if="showSearchInput">
|
||||
<Input prefix-icon placeholder="请输入词典名称/缩写/类别" v-model="searchKey" class="flex-1" autofocus/>
|
||||
<BaseButton @click="showSearchInput = false, searchKey = ''">取消</BaseButton>
|
||||
|
||||
Reference in New Issue
Block a user