|
@@ -127,7 +127,6 @@
|
|
|
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" @click="saveBookInfo">保存书籍信息</el-button>
|
|
|
- <el-button @click="resetBookInfo">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -342,20 +341,20 @@ function saveBookInfo() {
|
|
|
ElMessage.success('书籍信息保存成功');
|
|
|
}
|
|
|
|
|
|
-function resetBookInfo() {
|
|
|
- localBookInfo.value = {
|
|
|
- title: '',
|
|
|
- author: '',
|
|
|
- language: 'zh-CN',
|
|
|
- cover: '',
|
|
|
- description: '',
|
|
|
- identifier: '',
|
|
|
- publisher: '',
|
|
|
- publicationDate: '',
|
|
|
- rights: ''
|
|
|
- };
|
|
|
- ElMessage.info('书籍信息已重置');
|
|
|
-}
|
|
|
+// function resetBookInfo() {
|
|
|
+// localBookInfo.value = {
|
|
|
+// title: '',
|
|
|
+// author: '',
|
|
|
+// language: 'zh-CN',
|
|
|
+// cover: '',
|
|
|
+// description: '',
|
|
|
+// identifier: '',
|
|
|
+// publisher: '',
|
|
|
+// publicationDate: '',
|
|
|
+// rights: ''
|
|
|
+// };
|
|
|
+// ElMessage.info('书籍信息已重置');
|
|
|
+// }
|
|
|
|
|
|
// 封面上传相关功能
|
|
|
function handleCoverChange(file) {
|