Kaynağa Gözat

操作履历

zhangxiaomu 1 yıl önce
ebeveyn
işleme
a0e231cb9f
4 değiştirilmiş dosya ile 20 ekleme ve 4 silme
  1. 1 1
      babel.config.js
  2. 5 0
      package.json
  3. 8 0
      src/main.js
  4. 6 3
      src/view/mst/print-layout/index.vue

+ 1 - 1
babel.config.js

@@ -1,4 +1,4 @@
 module.exports = {
   presets: ['@vue/app'],
-  plugins: ['@babel/plugin-proposal-optional-chaining']
+  plugins: ['@babel/plugin-proposal-optional-chaining','@babel/plugin-transform-react-jsx']
 }

+ 5 - 0
package.json

@@ -28,6 +28,7 @@
     "@antv/x6-plugin-stencil": "^2.0.2",
     "@antv/x6-plugin-transform": "^2.1.5",
     "@babel/plugin-proposal-optional-chaining": "^7.18.9",
+    "@babel/plugin-transform-react-jsx": "^7.24.7",
     "@tinymce/tinymce-vue": "^3.2.8",
     "axios": "^0.18.0",
     "clipboard": "^2.0.11",
@@ -50,6 +51,9 @@
     "quill": "^1.3.7",
     "quill-image-drop-module": "^1.0.3",
     "quill-image-resize-module": "^3.0.0",
+    "react": "16.14.0",
+    "react-dom": "16.14.0",
+    "react-object-logger": "^1.2.3",
     "sortablejs": "^1.14.0",
     "svg-sprite-loader": "^6.0.11",
     "tinymce": "^5.10.7",
@@ -69,6 +73,7 @@
     "vue-router": "3.0.0",
     "vue-tour": "^2.0.0",
     "vuedraggable": "^2.24.3",
+    "vuera": "^0.2.7",
     "vuex": "^3.0.1",
     "vuex-persistedstate": "^2.5.4",
     "vxe-table": "3.5.9",

+ 8 - 0
src/main.js

@@ -98,6 +98,10 @@ hiPrintPlugin.disAutoConnect(); // 取消自动连接直接打印客户端
 import printUtil from '@/utils/printUtil.js'
 Vue.prototype.$printUtil=printUtil
 
+import {  VuePlugin } from 'vuera'
+Vue.use(VuePlugin);
+
+
 /* 拖动组件 */
 // import VueDragResize from 'vue-drag-resize'
 // Vue.component('vue-drag-resize', VueDragResize)
@@ -108,6 +112,10 @@ Vue.prototype.$printUtil=printUtil
 //照片墙
 import DkPicWall from '_c/base/dk-pic-wall'
 Vue.component('DkPicWall', DkPicWall)
+
+import ObjectLogger from 'react-object-logger';
+Vue.component('ObjectLogger', ObjectLogger)
+
 /* 全局引入组件 */
 import SearchCond from '_c/business/search-cond'
 Vue.component('SearchCond', SearchCond)

Dosya farkı çok büyük olduğundan ihmal edildi
+ 6 - 3
src/view/mst/print-layout/index.vue


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor