|
|
|
@@ -34,7 +34,6 @@ import { |
|
|
|
} from './features/notification.js'; |
|
|
|
import {createCodeEditor} from './features/codeeditor.js'; |
|
|
|
import MinioUploader from './components/MinioUploader.vue'; |
|
|
|
import ObsUploader from './components/ObsUploader.vue'; |
|
|
|
import EditAboutInfo from './components/EditAboutInfo.vue'; |
|
|
|
// import Images from './components/Images.vue'; |
|
|
|
import EditTopics from './components/EditTopics.vue'; |
|
|
|
@@ -2958,7 +2957,6 @@ $(document).ready(async () => { |
|
|
|
initCodeView(); |
|
|
|
initVueApp(); |
|
|
|
initVueUploader(); |
|
|
|
initObsUploader(); |
|
|
|
initVueDataset(); |
|
|
|
initVueEditAbout(); |
|
|
|
initVueEditTopic(); |
|
|
|
@@ -3881,7 +3879,6 @@ function initVueDataset() { |
|
|
|
}, |
|
|
|
components: { |
|
|
|
MinioUploader, |
|
|
|
ObsUploader |
|
|
|
}, |
|
|
|
mounted(){ |
|
|
|
// if(document.getElementById('postPath')){ |
|
|
|
@@ -4406,19 +4403,7 @@ function initVueDataAnalysis() { |
|
|
|
render: h => h(DataAnalysis) |
|
|
|
}); |
|
|
|
} |
|
|
|
// 新增 |
|
|
|
function initObsUploader() { |
|
|
|
const el = document.getElementById('obsUploader'); |
|
|
|
if (!el) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
new Vue({ |
|
|
|
el: '#obsUploader', |
|
|
|
components: {ObsUploader}, |
|
|
|
template: '<ObsUploader />' |
|
|
|
}); |
|
|
|
} |
|
|
|
function initVueWxAutorize() { |
|
|
|
const el = document.getElementById('WxAutorize'); |
|
|
|
if (!el) { |
|
|
|
|