修复另存为

Merge pull request  from 德仔/develop
This commit is contained in:
德仔 2021-03-15 11:39:35 +08:00 committed by Gitee
commit ae982051aa
3 changed files with 3 additions and 4 deletions
stdiet-ui/src/views/custom
recipesBuild
RecipesView/RecipesHeaderCom
RecommendView/TemplateView
recipesTemplate

@ -145,8 +145,7 @@ export default {
this.updateStateData({ recipesData: [] });
},
handleOnTemplateClick() {
// this.$refs.templateRef.showDialog();
console.log(this.$route.query);
this.$refs.templateRef.showDialog();
},
handleOnCopy(form) {
this.loading = true;

@ -11,7 +11,7 @@
<el-input
v-model="queryParams.name"
placeholder="请输入模板名称或备注"
@keydown.enter.native="handleQuery"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="营养师" prop="nutritionistId">

@ -10,7 +10,7 @@
<el-input
v-model="queryParams.name"
placeholder="请输入模板名称或备注"
@keydown.enter.native="handleQuery"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="营养师" prop="nutritionistId">