w-web-perm 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/main.js CHANGED
@@ -9,7 +9,6 @@ import App from './App.vue'
9
9
  import store from './store/index.mjs'
10
10
  import ui from './plugins/mUI.mjs'
11
11
  import mDataSelectorSchema from './plugins/mDataSelectorSchema.mjs'
12
- // import mDataSupport from './plugins/mDataSupport.mjs'
13
12
  import * as s from './plugins/mShare.mjs'
14
13
  import ds from './schema/index.mjs'
15
14
  // console.log('ds', ds)
@@ -30,15 +29,11 @@ Vue.prototype.$alert = function() {
30
29
  //dssm
31
30
  let dssm = mDataSelectorSchema(ds)
32
31
 
33
- // //dspt
34
- // let dspt = mDataSupport(Vue.prototype)
35
-
36
32
  //prototype
37
33
  Vue.prototype.$ui = ui
38
34
  Vue.prototype.$t = ui.getKpText
39
35
  Vue.prototype.$s = s
40
36
  Vue.prototype.$dssm = dssm
41
- // Vue.prototype.$dspt = dspt
42
37
  Vue.prototype.$ds = ds
43
38
  Vue.prototype.$dg = {}
44
39
 
@@ -67,7 +62,7 @@ WServHapiClient({
67
62
  .then((wi) => {
68
63
  console.log('$fapi getWebInfor', wi)
69
64
  Vue.prototype.$store.commit(Vue.prototype.$store.types.UpdateWebInfor, wi)
70
- ui.setLang() //因更新webInfor得要重刷語系才能依照語言取得顯示文字
65
+ ui.setLang(null, 'get webInfor') //因更新webInfor可取得webName與webDescription, 得要重刷語系才能依照語言取得顯示文字
71
66
  })
72
67
  .catch((err) => {
73
68
  console.log(err)