审稿页面显示
This commit is contained in:
@@ -17,6 +17,7 @@ import Common from './components/common/common'
|
||||
import store from './store' // 引入 store
|
||||
|
||||
|
||||
Vue.prototype.$bus = new Vue();
|
||||
Vue.prototype.$validateString = function (str) {
|
||||
return /^[a-zA-Z\s\u00C0-\u00FF\u0100-\u017F-]+$/.test(str);
|
||||
}
|
||||
@@ -92,6 +93,7 @@ async function loadJournalType() {
|
||||
async function loadJournalList() {
|
||||
try {
|
||||
const localData = store.state.journalList;
|
||||
|
||||
if (localData && Array.isArray(localData) && localData.length > 0) {
|
||||
return localData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user