Pārlūkot izejas kodu

修改按钮名称

lijj 2 gadi atpakaļ
vecāks
revīzija
2bf4aebb0e

+ 3 - 3
admin_ui/src/views/ycwh/components/editDocumentInfo/index.vue

@@ -46,7 +46,7 @@
     </el-form-item>
     <div style="height: 72px;"></div>
     <div style="position: fixed;bottom: 0;padding: 20px 0;z-index: 999;">
-      <el-button type="primary" @click="toSave(1)">发布</el-button>
+      <el-button type="primary" @click="toSave(1)">保存</el-button>
       <!--<el-button type="primary" @click="toSave(0)">存为草稿</el-button>-->
       <!--<el-button type="primary" @click="toPreview">预览</el-button>-->
       <el-button type="info" @click="toCancel">关闭</el-button>
@@ -141,10 +141,10 @@
         // 富文本相关配置
         editorOptions: {
           //普通上传地址
-          action: "https://api.avuejs.com/imgupload",
+          action: "/api/blade-resource/oss/endpoint/put-file",
           customConfig: {}, //wangEditor编辑的配置
           //是否启用oss(qiniu/ali)
-          oss: '',
+          oss: 'minio',
           headers: {},
           data: {},
           propsHttp: {

+ 1 - 1
admin_ui/src/views/ycwh/components/editFamousDish/index.vue

@@ -55,7 +55,7 @@
     </el-form-item>
     <div style="height: 72px;"></div>
     <div style="position: fixed;bottom: 0;padding: 20px 0;z-index: 999;">
-      <el-button type="primary" @click="toSave(1)">发布</el-button>
+      <el-button type="primary" @click="toSave(1)">保存</el-button>
       <!--<el-button type="primary" @click="toSave(0)">存为草稿</el-button>-->
       <!--<el-button type="primary" @click="toPreview">预览</el-button>-->
       <el-button type="info" @click="toCancel">关闭</el-button>

+ 1 - 1
admin_ui/src/views/ycwh/components/editFamousLocation/index.vue

@@ -55,7 +55,7 @@
     </el-form-item>
     <div style="height: 72px;"></div>
     <div style="position: fixed;bottom: 0;padding: 20px 0;z-index: 999;">
-      <el-button type="primary" @click="toSave(1)">发布</el-button>
+      <el-button type="primary" @click="toSave(1)">保存</el-button>
       <!--<el-button type="primary" @click="toSave(0)">存为草稿</el-button>-->
       <!--<el-button type="primary" @click="toPreview">预览</el-button>-->
       <el-button type="info" @click="toCancel">关闭</el-button>

+ 1 - 1
admin_ui/src/views/ycwh/components/editFamousStore/index.vue

@@ -55,7 +55,7 @@
     </el-form-item>
     <div style="height: 72px;"></div>
     <div style="position: fixed;bottom: 0;padding: 20px 0;z-index: 999;">
-      <el-button type="primary" @click="toSave(1)">发布</el-button>
+      <el-button type="primary" @click="toSave(1)">保存</el-button>
       <!--<el-button type="primary" @click="toSave(0)">存为草稿</el-button>-->
       <!--<el-button type="primary" @click="toPreview">预览</el-button>-->
       <el-button type="info" @click="toCancel">关闭</el-button>

+ 1 - 1
admin_ui/src/views/ycwh/components/editInformationInfo/index.vue

@@ -47,7 +47,7 @@
     </el-form-item>
     <div style="height: 72px;"></div>
     <div style="position: fixed;bottom: 0;padding: 20px 0;z-index: 999;">
-      <el-button type="primary" @click="toSave(1)">发布</el-button>
+      <el-button type="primary" @click="toSave(1)">保存</el-button>
       <!--<el-button type="primary" @click="toSave(0)">存为草稿</el-button>-->
       <!--<el-button type="primary" @click="toPreview">预览</el-button>-->
       <el-button type="info" @click="toCancel">关闭</el-button>

+ 1 - 1
admin_ui/src/views/ycwh/components/editProfessionalStyle/index.vue

@@ -47,7 +47,7 @@
     </el-form-item>
     <div style="height: 72px;"></div>
     <div style="position: fixed;bottom: 0;padding: 20px 0;z-index: 999;">
-      <el-button type="primary" @click="toSave(1)">发布</el-button>
+      <el-button type="primary" @click="toSave(1)">保存</el-button>
       <!--<el-button type="primary" @click="toSave(0)">存为草稿</el-button>-->
       <!--<el-button type="primary" @click="toPreview">预览</el-button>-->
       <el-button type="info" @click="toCancel">关闭</el-button>